ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19558) hivemetastore-report.json.tmp permission errors in hive metastore, HS2 logs
Date Tue, 17 Jan 2017 10:46:26 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-19558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15825821#comment-15825821
] 

Hudson commented on AMBARI-19558:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #734 (See [https://builds.apache.org/job/Ambari-branch-2.5/734/])
AMBARI-19558. hivemetastore-report.json.tmp permission errors in hive (dlysnichenko: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8ee61968534930825b61bd36dd7f7a217fd39dd5])
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-interactive-site.xml
* (edit) ambari-server/src/test/python/stacks/2.0.6/configs/secured.json
* (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default_no_install.json
* (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default.json
* (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_non_hdfs.json
* (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha_2.json
* (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default_hive_nn_ha.json
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hivemetastore-site.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hiveserver2-site.xml


> hivemetastore-report.json.tmp permission errors in hive metastore, HS2 logs
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-19558
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19558
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.5.0
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Grinenko
>            Priority: Critical
>             Fix For: trunk, 2.5.0
>
>         Attachments: AMBARI-19558.patch
>
>
> Noticed that the test cluster has lots of "hivemetastore-report.json.tmp (Permission
denied)" errors (every 5 seconds).
> It is happening because user hive is running as user custom-hive while only user hive
has permission for /var/log/hive/ . This location is determined by the config hive.service.metrics.file.location,
which is set to /var/log/hive/hivemetastore-report.json . The log4j logs are going into /grid/0/log/hive/.
> A fix would be to change value of this config to use whatever logging directory is being
used instad of hardcoding to /var/log/hive/. However, we are already publishing the metrics
via graphana, so this is not needed.
> A quick fix would be to change the config to hive.service.metrics.reporter=HADOOP2 in
hive-server2-site and hive-metastore .
> The old value is - 
> hive.service.metrics.reporter=JSON_FILE, JMX, HADOOP2. The suggested change above will
remove JMX as well, as we anyway aren't setting any of the required JMX params. Setting JMX
reporter is an unnecessary overhead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message