Member since
06-06-2018
2
Posts
0
Kudos Received
0
Solutions
05-14-2019
02:05 PM
I'm confirm that. Destination table column names must be writted in lowercase , otherwise insert statement does'nt work
... View more
06-06-2018
01:00 PM
Hi, I had similar issue when I try install Ranger on HDP 2.5.0.3. Ambari app are working on ambari (non-root) account. I also moved hdp directory do annother disk and created symlink. Error what I got: 2018-06-05 10:25:43,096 - Execute[(u'/opt/java/jdk1.8.0/bin/java', '-cp', u'/usr/hdp/current/ranger-admin/cred/lib/*', 'org.apache.ranger.credentialapi.buildks', 'create', u'rangeradmin', '-value', [PROTECTED], '-provider', u'jceks://file/etc/ranger/admin/rangeradmin.jceks')] {'logoutput': True, 'environment': {'JAVA_HOME': u'/opt/java/jdk1.8.0'}, 'sudo': True} Sorry, user ambari is not allowed to execute '/opt/java/jdk1.8.0/bin/java -cp /usr/hdp/current/ranger-admin/cred/lib/* org.apache.ranger.credentialapi.buildks create rangeradmin -value O6gZHKsVNcEMVAZSvjZo Solution: I detected when I logged in ambari user I could run java, but when run sudo java I got similar error like above. The solution was to add and entry to /etc/sudoers: ambari ALL=(ALL) NOPASSWD:SETENV: /bin/java *
... View more