Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0CEE18A59 for ; Thu, 21 May 2015 21:51:17 +0000 (UTC) Received: (qmail 49345 invoked by uid 500); 21 May 2015 21:51:17 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 49315 invoked by uid 500); 21 May 2015 21:51:17 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 49037 invoked by uid 99); 21 May 2015 21:51:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2015 21:51:17 +0000 Date: Thu, 21 May 2015 21:51:17 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-11312) Use default value of hbase.tmp.dir instead of hard coded directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-11312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555127#comment-14555127 ] Sumit Mohanty commented on AMBARI-11312: ---------------------------------------- LGTM, +1 > Use default value of hbase.tmp.dir instead of hard coded directory > ------------------------------------------------------------------ > > Key: AMBARI-11312 > URL: https://issues.apache.org/jira/browse/AMBARI-11312 > Project: Ambari > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: ambari-11312-v1.txt, ambari-11312-v2.txt, ambari-11312-v3.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.(FileOutputStream.java:221) > at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.(RawLocalFileSystem.java:222) > at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.(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)