You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by GitBox <gi...@apache.org> on 2021/01/15 08:57:51 UTC
[GitHub] [ranger] Navgeet opened a new pull request #86: setup.sh: Create lib directory before copying jar
Navgeet opened a new pull request #86:
URL: https://github.com/apache/ranger/pull/86
I ran into this while creating docker image for 2.1.0. I think this is a bug, but I cannot find any report elsewhere.
```
2021-01-15 08:02:34,119 [I] Copying POSTGRES Connector to /ranger-2.1.0-admin/ews/webapp/WEB-INF/lib
2021-01-15 08:02:34,127 [I] Copying POSTGRES Connector to /ranger-2.1.0-admin/ews/webapp/WEB-INF/lib DONE
2021-01-15 08:02:34,130 [I] check if command python exists
2021-01-15 08:02:34,132 [I] 'python' command found
Error: Could not find or load main class org.apache.ranger.common.RangerVersionInfo
/ranger-2.1.0-admin/ews/ranger-admin-services.sh: line 182: cd: /ranger-2.1.0-admin/ews/webapp/WEB-INF/lib: Not a directory
```
```
root@f1376d3be7d3:/ranger-2.1.0-admin# ls -lh /ranger-2.1.0-admin/ews/webapp/WEB-INF/lib
-rw-r--r-- 1 root root 982K Jan 15 08:02 /ranger-2.1.0-admin/ews/webapp/WEB-INF/lib
root@f1376d3be7d3:/ranger-2.1.0-admin# ls -lh postgresql.jar
-rw-r--r-- 1 ranger ranger 982K Oct 15 13:11 postgresql.jar
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org