kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norbert hu <norberth...@gmail.com>
Subject Fwd: Failed in building kylin 2.0 demo cube at step 3.
Date Mon, 17 Jul 2017 12:35:49 GMT
*enviroment:*  CDH 5.9,  apache-kylin-2.0.0-bin-cdh57.tar.gz , run
bin/kylin.sh start  as hdfs user.


*error:*
Caused by: org.apache.hadoop.security.AccessControlException: Permission
denied: user=mapred, access=READ, inode="/user/history/done_
intermediate/hdfs/job_1496716928803_0013-1500286115191-hdfs-Kylin_Fact_
Distinct_Columns_kylin_sales_cube_Step-1500286137251-0-0-
FAILED-root.users.hdfs-1500286120268.jhist":hdfs:supergroup:-rwxrwx---
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.
checkFsPermission(DefaultAuthorizationProvider.java:281)
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.
check(DefaultAuthorizationProvider.java:262)
at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.
checkPermission(DefaultAuthorizationProvider.java:175)cd
at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.
checkPermission(FSPermissionChecker.java:152)
at org.apache.hadoop.hdfs.server.namenode.FSDirectory.
checkPermission(FSDirectory.java:3560)
at org.apache.hadoop.hdfs.server.namenode.FSDirectory.
checkPermission(FSDirectory.java:3543)
at org.apache.hadoop.hdfs.server.namenode.FSDirectory.
checkPathAccess(FSDirectory.java:3514)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.
checkPathAccess(FSNamesystem.java:6566)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(
FSNamesystem.java:2009)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(
FSNamesystem.java:1977)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(
FSNamesystem.java:1890)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.
getBlockLocations(NameNodeRpcServer.java:572)
at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClie
ntProtocol.getBlockLocations(AuthorizationProviderProxyClie
ntProtocol.java:89)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSi
deTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSi
deTranslatorPB.java:365)
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$
ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.
java)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(
ProtobufRpcEngine.java:617)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1073)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2141)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2137)
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:1912)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2135)


*[hdfs@cloudera-3 bin]$  *hdfs dfs -ls  /user/history/done_
intermediate/hdfs/job_1496716928803_0013-1500286115191-hdfs-Kylin_Fact_
Distinct_Columns_kylin_sales_cube_Step-1500286137251-0-0-
FAILED-root.users.hdfs-1500286120268.jhist
-rwxrwx---   2 hdfs supergroup      21673 2017-07-17 18:08
/user/history/done_intermediate/hdfs/job_1496716928803_0013-
1500286115191-hdfs-Kylin_Fact_Distinct_Columns_kylin_sales_
cube_Step-1500286137251-0-0-FAILED-root.users.hdfs-1500286120268.jhist


my question is :  why runs as  mapred user ? I cannot find the config in
kylin , hadoop,yarn.

Thanks in advane.

Norbert

Mime
View raw message