Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Oozie -- runing impala-shell fails

avatar
Expert Contributor

After upgrading to CDH 5.4, we are unable to run imapal-shell from within a shell script. 

 

Here is the script:

 

~~~~

#!/bin/bash
export PYTHON_EGG_CACHE=./myeggs
impala-shell -q "invalidate metadata"
~~~~
 
Here is the error message and we notice the same irrespective of the directory "PYTHON_EGG_CACHE" env variable is set to:
 
The Python egg cache directory is currently set to:
  
  /tmp/impala-shell-python-egg-cache-myuser
  
  Perhaps your account does not have write access to this directory?  You can
  change the cache directory by setting the PYTHON_EGG_CACHE environment
  variable to point to an accessible directory.
  

Is there a change in the way the env variable need to be set?

 

Thanks!

Who agreed with this topic