[
https://issues.apache.org/jira/browse/AMBARI-11312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sumit Mohanty updated AMBARI-11312:
-----------------------------------
Affects Version/s: 2.1.0
> Value of hbase.tmp.dir should contain ${user.name} instead of hard coded
> directory path
> ---------------------------------------------------------------------------------------
>
> Key: AMBARI-11312
> URL: https://issues.apache.org/jira/browse/AMBARI-11312
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.1.0
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 2.1.0
>
> Attachments: ambari-11312-v1.txt, ambari-11312-v2.txt,
> ambari-11312-v3.txt, ambari-11312-v4.txt, ambari-11312-v5.txt,
> ambari-11312-v6.txt
>
>
> Currently hbase.tmp.dir is hard coded with /hadoop/hbase .
> We saw the following error when testing Phoenix UDF functionality:
> {code}
> 15/05/17 14:56:11 WARN util.DynamicClassLoader: Failed to load new jar
> UDF_artifact-1.0-SNAPSHOT.jar
> java.io.FileNotFoundException:
> /grid/0/var/log/hbase/local/jars/UDF_artifact-1.0-SNAPSHOT.jar (Permission
> denied)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
> at
> org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:222)
> at
> org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:209)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:305)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:293)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:326)
> {code}
> Default value for hbase.tmp.dir should be used instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)