lidongsjtu commented on a change in pull request #122: JIRA-3288 specify 
mapreduce.job.queuename when submit sqoop job
URL: https://github.com/apache/kylin/pull/122#discussion_r176381481
 
 

 ##########
 File path: 
source-hive/src/main/java/org/apache/kylin/source/jdbc/JdbcHiveMRInput.java
 ##########
 @@ -162,13 +173,16 @@ private AbstractExecutable 
createSqoopToFlatHiveStep(String jobWorkingDir, Strin
                 bquery += " WHERE " + partitionString;
             }
 
-            String cmd = String.format(String.format(
+            //related to 
"kylin.engine.mr.config-override.mapreduce.job.queuename"
+            String queueName = getSqoopJobQueueName(config);
+            String cmd = String.format(
                     "%s/sqoop import 
-Dorg.apache.sqoop.splitter.allow_text_splitter=true "
+                            + "- Dmapreduce.job.queuename=%s "
 
 Review comment:
    "- Dmapreduce.job.queuename  这里,-和D中间是不是多了个空格?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to