You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by 沙漠火狐 <27...@qq.com> on 2016/07/04 12:01:28 UTC

I got a problem in #2 Step Name: Extract Fact Table Distinct Columns

Hi all ~  
    when I run the  example  to build the  cube  ,  I got a error like: 


2016-07-04 03:17:45.396 - State of Hadoop job: job_1467599362587_0064:ACCEPTED - UNDEFINED
2016-07-04 03:17:55.408 - State of Hadoop job: job_1467599362587_0064:RUNNING - UNDEFINED
2016-07-04 03:18:05.425 - State of Hadoop job: job_1467599362587_0064:RUNNING - UNDEFINED
2016-07-04 03:18:15.436 - State of Hadoop job: job_1467599362587_0064:FINISHED - SUCCEEDED
org.apache.hadoop.ipc.RemoteException(java.lang.NullPointerException): java.lang.NullPointerException
	at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService$HSClientProtocolHandler.getCounters(HistoryClientService.java:228)
	at org.apache.hadoop.mapreduce.v2.api.impl.pb.service.MRClientProtocolPBServiceImpl.getCounters(MRClientProtocolPBServiceImpl.java:159)
	at org.apache.hadoop.yarn.proto.MRClientProtocol$MRClientProtocolService$2.callBlockingMethod(MRClientProtocol.java:281)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:587)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1026)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2013)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2009)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2007)

  ------------------------------------------------------------------------
I also found the other guy also had the same problem with me.  the JIRA is https://issues.apache.org/jira/browse/KYLIN-1021 . but it be fixed in previous version. 
there are already have jars in /temp



The kylin  generate three table in hive and have data in it. The kylin_metadata table  in  hbase as well. 
 
I used the hdfs account to start the kylin.  it have the  authority  to  create/query table in hive and hbase. 


my kylin version is apache-kylin-1.5.2.1  and my Hadoop env  is   CDH5.2.0.




Appreciate response from Kylin experts.

Re: I got a problem in #2 Step Name: Extract Fact Table Distinct Columns

Posted by ShaoFeng Shi <sh...@apache.org>.
hello 沙漠之狐,

If you search this error, you can find several discussions; although they
were not explicitly be resolved, but you can find some clue:

https://issues.apache.org/jira/browse/KYLIN-1302
https://mail-archives.apache.org/mod_mbox/kylin-dev/201504.mbox/%3CCAD6wy_3Jk_e=ixCH8qq3qrGea0CcCDM_hQVPzNidiiupfYP6gw@mail.gmail.com%3E

It looks like a CDH environment error, causing Kylin failed to get the job
counters from Hadoop;




2016-07-04 20:01 GMT+08:00 沙漠火狐 <27...@qq.com>:

> Hi all ~
>     when I run the  example  to build the  cube  ,  I got a error like:
>
> 2016-07-04 03:17:45.396 - State of Hadoop job:
> job_1467599362587_0064:ACCEPTED - UNDEFINED
> 2016-07-04 03:17:55.408 - State of Hadoop job:
> job_1467599362587_0064:RUNNING - UNDEFINED
> 2016-07-04 03:18:05.425 - State of Hadoop job:
> job_1467599362587_0064:RUNNING - UNDEFINED
> 2016-07-04 03:18:15.436 - State of Hadoop job:
> job_1467599362587_0064:FINISHED - SUCCEEDED
> org.apache.hadoop.ipc.RemoteException(java.lang.NullPointerException):
> java.lang.NullPointerException
> at
> org.apache.hadoop.mapreduce.v2.hs.HistoryClientService$HSClientProtocolHandler.getCounters(HistoryClientService.java:228)
> at
> org.apache.hadoop.mapreduce.v2.api.impl.pb.service.MRClientProtocolPBServiceImpl.getCounters(MRClientProtocolPBServiceImpl.java:159)
> at
> org.apache.hadoop.yarn.proto.MRClientProtocol$MRClientProtocolService$2.callBlockingMethod(MRClientProtocol.java:281)
> at
> org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:587)
> at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1026)
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2013)
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2009)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2007)
>   ------------------------------------------------------------------------
> I also found the other guy also had the same problem with me.  the JIRA is
> https://issues.apache.org/jira/browse/KYLIN-1021 . but it be fixed in
> previous version.
> there are already have jars in /temp
>
> The kylin  generate three table in hive and have data in it. The
> kylin_metadata table  in  hbase as well.
>
> I used the hdfs account to start the kylin.  it have the  authority  to
>  create/query table in hive and hbase.
>
> my kylin version is apache-kylin-1.5.2.1  and my Hadoop env  is   CDH5.2.0.
>
>
> Appreciate response from Kylin experts.
>
>
>
>
>
>
>
>
>


-- 
Best regards,

Shaofeng Shi