[ 
https://issues.apache.org/jira/browse/KYLIN-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chuqian Yu updated KYLIN-3277:
------------------------------
    Attachment: 0001-KYLIN-3277.patch

> Kylin should override hiveconf settings when connecting to hive using jdbc
> --------------------------------------------------------------------------
>
>                 Key: KYLIN-3277
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3277
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Chuqian Yu
>            Priority: Major
>              Labels: patch
>         Attachments: 0001-KYLIN-3277.patch
>
>
> Hi, kylin developers. My cube building procedure failing at Step 2 
> "Redistribute Flat Hive Table" because Kylin always trying to submit a mr job 
> to the default yarn queue.
>  
> I have overrided the mapred.job.queue.name property in both 
> kylin_hive_conf.xml and kylin.properties but it doesn't work. 
>  
> kylin.properties
> ```
> kylin.source.hive.beeline-params=-n hive -p hive --hiveconf 
> mapred.job.queue.name=myQueue  -u 
> "jdbc:hive2://myZk:2181/;serviceDiscoveryMode=zooKeeper;" 
> ```
>  
> kylin_hive_conf.xml
> ```
>    <property>
>        <name>mapred.job.queue.name</name>
>        <value>myQueue</value>
>    </property>
> ```
>  
> After digging into the source code ,I found that kylin try to get the row 
> count of hive table before redistributing it. But it dose not override the 
> hive configuration when using jdbc to connect to hive server.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to