Commit e3836d6d authored by 赵建伟's avatar 赵建伟

update codes

parent f1e776f2
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<workItem from="1588154352798" duration="195000" /> <workItem from="1588154352798" duration="195000" />
<workItem from="1588220085338" duration="7993000" /> <workItem from="1588220085338" duration="7993000" />
<workItem from="1588248522289" duration="2820000" /> <workItem from="1588248522289" duration="2820000" />
<workItem from="1588344251422" duration="20092000" /> <workItem from="1588344251422" duration="20378000" />
</task> </task>
<task id="LOCAL-00001" summary="add init codes."> <task id="LOCAL-00001" summary="add init codes.">
<created>1587723565207</created> <created>1587723565207</created>
......
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
<workItem from="1588148891822" duration="2318000" /> <workItem from="1588148891822" duration="2318000" />
<workItem from="1588152718016" duration="1463000" /> <workItem from="1588152718016" duration="1463000" />
<workItem from="1588154601852" duration="28557000" /> <workItem from="1588154601852" duration="28557000" />
<workItem from="1588344252163" duration="15018000" /> <workItem from="1588344252163" duration="15282000" />
</task> </task>
<servers /> <servers />
</component> </component>
......
...@@ -65,6 +65,7 @@ public class HivesqlServiceImpl implements HivesqlService { ...@@ -65,6 +65,7 @@ public class HivesqlServiceImpl implements HivesqlService {
conn = DriverManager.getConnection(hiveSqlJdbcUrl,"bi",""); conn = DriverManager.getConnection(hiveSqlJdbcUrl,"bi","");
Statement statement = conn.createStatement(); Statement statement = conn.createStatement();
statement.executeUpdate("set role admin"); statement.executeUpdate("set role admin");
statement.executeUpdate("set mapreduce.job.queuename=data");
int updateCount = statement.executeUpdate(hql); int updateCount = statement.executeUpdate(hql);
if(updateCount > 0){ if(updateCount > 0){
logger.info("*** Execute success, hql: {}",hql); logger.info("*** Execute success, hql: {}",hql);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment