Member since
07-08-2019
1
Post
0
Kudos Received
0
Solutions
07-11-2019
10:24 AM
@Juhi Kude May be you can try changing the following line. # grep 'os.path.expanduser' /var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ACCUMULO/package/scripts/accumulo_service.py
Directory(os.path.expanduser(format("~{accumulo_user}")), To something like below: # grep 'os.path.expanduser' /var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ACCUMULO/package/scripts/accumulo_service.py
Directory(os.path.expanduser(format("/path/to/different/dir/{accumulo_user}")), Try to specify the path "/path/to/different/dir/" where you have the access. It might work. The directory needs to be existing before you attempt to restart Accumulo and permission on that dir n eeds to be setup accordingly for the accumulo user like "chown -R accumulo:hadoop /path/to/different/dir". # mkdir -p /path/to/different/dir . Also before restarting the Accumulo please remove the following files from thsat host. # rm -f /var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ACCUMULO/package/scripts/accumulo_service.pyo
# rm -f /var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ACCUMULO/package/scripts/accumulo_service.pyc For the permanent change you will need to make the same change on the ambari server host as well inside the file: /var/lib/ambari-server/resources/stacks/HDP/3.0/services/ACCUMULO/package/scripts/accumulo_service.py
::NOTE:: These changes are not just for testing and not recommended for production use. As it is not thoroughly tested. So you might choose this approach at your own risk. .
... View more