You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by Fredy Wijaya <fw...@cloudera.com> on 2019/02/22 22:09:17 UTC

Ranger Error after Rebasing

Hello,

In case you are getting an error after rebasing due to some commits related
to Ranger, please do the full build: ./buildall.sh -format -testdata
-notests

An example of an error:
--> Starting Ranger Server
find:
'/home/foo/src/Impala/toolchain/ranger-1.2.0-admin/ews/webapp/WEB-INF/classes/conf/':
No such file or directory
mkdir: cannot create directory '/var/run/ranger': Permission denied
chmod: cannot access '/var/run/ranger': No such file or directory
Restarting Apache Ranger Admin
Apache Ranger Admin Service is not running
Starting Apache Ranger Admin Service
/home/philip/src/Impala/toolchain/ranger-1.2.0-admin/ews/ranger-admin-services.sh:
line 85:
/home/foo/src/Impala/toolchain/ranger-1.2.0-admin/ews/logs/catalina.out: No
such file or directory
Apache Ranger Admin Service failed to start!

In case you want a quicker way without rebuilding everything, the following
steps should do the trick.

$IMPALA_HOME/bin/create-test-configuration.sh -create_ranger_policy_db
$IMPALA_HOME/testdata/bin/run-all.sh

I apologize for the inconvenience and please let me know if you encounter
an issue.