[ 
https://issues.apache.org/jira/browse/KYLIN-955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261620#comment-15261620
 ] 

linbao111 commented on KYLIN-955:
---------------------------------

within ldap non-admin user,HiveColumnCardinalityJob fail with 
mapreduce.job.queue defined in file kylin_job.xml 
and i notice same issue fixed by KYLIN-955 after kylin 1.3,but why it still not 
work on my kylin 1.5.1(hadoop 2.4.1)? 

i review the related patch,and suspect for the following code should be changed 
from: 
     conf.addResource(jobEngineConfig.getHadoopJobConfFilePath(null)); 
to: 
     conf.addResource(new 
Path(jobEngineConfig.getHadoopJobConfFilePath(null))); 

difference between public void addResource(String name) and public void 
addResource(Path file) can be checked in: 
https://hadoop.apache.org/docs/r2.4.1/api/org/apache/hadoop/conf/Configuration.html#addResource(org.apache.hadoop.conf.Configuration)

> HiveColumnCardinalityJob should use configurations in conf/kylin_job_conf.xml
> -----------------------------------------------------------------------------
>
>                 Key: KYLIN-955
>                 URL: https://issues.apache.org/jira/browse/KYLIN-955
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Job Engine
>    Affects Versions: v0.7.2, v0.7.1
>            Reporter: Shaofeng SHI
>            Assignee: yunjiong zhao
>            Priority: Minor
>              Labels: newbie
>             Fix For: v1.5.0, v1.3.0
>
>         Attachments: KYLIN-955-1.x-staging.patch, KYLIN-955-2.x-staging.patch
>
>
> We defined some customized configurations in conf/kylin_job_conf.xml, while 
> the cardinality job doesn't use those configurations;
> This job's behavior need be consistent with others like the cubing jobs;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to