Re: Cube build error @First Step : DFS Command incompatible with Ranger
Perfect, thank you -- View this message in context: http://apache-kylin.74782.x6.nabble.com/Cube-build-error-First-Step-DFS-Command-incompatible-with-Ranger-tp6924p6937.html Sent from the Apache Kylin mailing list archive at Nabble.com.
Re: Cube build error @First Step : DFS Command incompatible with Ranger
Billy and I replied in the same time; thanks Billy. 2017-01-12 22:01 GMT+08:00 Billy Liu : > dfs command is used to generate the count result when creating flat table. > The good news is KYLIN-2165(https://issues.apache.org/jira/browse/KYLIN- > 2165) > remove the dependency with "dfs -mkdir", it will be released in 2.0. > The code is ready at the master branch. > > 2017-01-12 16:23 GMT+08:00 Geki : > > > Here is the error with Kylin 1.5.3 and beeline use : > > > > dfs -mkdir -p > > /.../kylin/kylin_metadata/kylin-98dad9b2-a1db-48d0-b635- > > 92f685f12b63/row_count; > > Error: Error while processing statement: Permission denied: user > > [jourdanro] > > does not have privilege for [DFS] command (state=,code=1) > > > > Hortonworks support answer : dfs command are not supporter while Ranger > is > > active > > > > Does it mean i can not use Kylin OLAP on Hortonworks with ranger > activated > > ? > > > > -- > > View this message in context: http://apache-kylin.74782.x6. > > nabble.com/Cube-build-error-First-Step-DFS-Command- > > incompatible-with-Ranger-tp6924.html > > Sent from the Apache Kylin mailing list archive at Nabble.com. > > > -- Best regards, Shaofeng Shi 史少锋
Re: Cube build error @First Step : DFS Command incompatible with Ranger
Hi Geki, Now Kylin has changed to use Hive API or JDBC (when beeline configured) to get the table's row count, then don't need mkdir the "row_count" folder any more; It has been worked well for a while, will be released in next version. The detail is in https://issues.apache.org/jira/browse/KYLIN-2165, you can cherry-pick the commit to make a new build if needed. 2017-01-12 16:23 GMT+08:00 Geki : > Here is the error with Kylin 1.5.3 and beeline use : > > dfs -mkdir -p > /.../kylin/kylin_metadata/kylin-98dad9b2-a1db-48d0-b635-92f6 > 85f12b63/row_count; > Error: Error while processing statement: Permission denied: user > [jourdanro] > does not have privilege for [DFS] command (state=,code=1) > > Hortonworks support answer : dfs command are not supporter while Ranger is > active > > Does it mean i can not use Kylin OLAP on Hortonworks with ranger activated > ? > > -- > View this message in context: http://apache-kylin.74782.x6.n > abble.com/Cube-build-error-First-Step-DFS-Command-incompatib > le-with-Ranger-tp6924.html > Sent from the Apache Kylin mailing list archive at Nabble.com. > -- Best regards, Shaofeng Shi 史少锋
Re: Cube build error @First Step : DFS Command incompatible with Ranger
dfs command is used to generate the count result when creating flat table. The good news is KYLIN-2165(https://issues.apache.org/jira/browse/KYLIN-2165) remove the dependency with "dfs -mkdir", it will be released in 2.0. The code is ready at the master branch. 2017-01-12 16:23 GMT+08:00 Geki : > Here is the error with Kylin 1.5.3 and beeline use : > > dfs -mkdir -p > /.../kylin/kylin_metadata/kylin-98dad9b2-a1db-48d0-b635- > 92f685f12b63/row_count; > Error: Error while processing statement: Permission denied: user > [jourdanro] > does not have privilege for [DFS] command (state=,code=1) > > Hortonworks support answer : dfs command are not supporter while Ranger is > active > > Does it mean i can not use Kylin OLAP on Hortonworks with ranger activated > ? > > -- > View this message in context: http://apache-kylin.74782.x6. > nabble.com/Cube-build-error-First-Step-DFS-Command- > incompatible-with-Ranger-tp6924.html > Sent from the Apache Kylin mailing list archive at Nabble.com. >