You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/03/29 08:00:00 UTC

[jira] [Commented] (AMBARI-23384) PQS start fails after Ambari upgrade due to Bad file descriptor

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

Hudson commented on AMBARI-23384:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8937 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8937/])
[AMBARI-23384]. PQS start fails after Ambari upgrade due to Bad file (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=4b247f2db3a45c1f6ec59fb768167d2291115fe5])
* (edit) ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/phoenix_queryserver.py
* (edit) ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/phoenix_service.py


> PQS start fails after Ambari upgrade due to Bad file descriptor
> ---------------------------------------------------------------
>
>                 Key: AMBARI-23384
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23384
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Vivek Sharma
>            Assignee: Attila Magyar
>            Priority: Critical
>              Labels: pull-request-available, upgrade
>             Fix For: 2.7.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> *STR*
> PQS start after Ambari upgrade to 2.7.0 failed with below error:
> {code}
> Traceback (most recent call last):
>  File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/phoenix_queryserver.py", line 81, in 
>  PhoenixQueryServer().execute()
>  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 356, in execute
>  self.execute_prefix_function(self.command_name, 'post', env)
>  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 377, in execute_prefix_function
>  method(env)
>  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 419, in post_start
>  raise Fail("Pid file \{0} doesn't exist after starting of the component.".format(pid_file))
> resource_management.core.exceptions.Fail: Pid file /var/run/hbase/phoenix-hbase-server.pid doesn't exist after starting of the component.
> {code}
> The log says the following:
> {code}
> 2018-03-26 16:33:13.563112 launching /base/tools/jdk1.8.0_112/bin/java -cp /usr/hdp/current/hbase-client/conf:/etc/hadoop/conf:/grid/0/hdp/2.6.4.0-91/phoenix/bin/../phoenix-4.7.0.2.6.4.0-91-client.jar:/grid/0/hdp/2.6.4.0-91/phoenix/bin/../phoenix-4.7.0.2.6.4.0-91-queryserver.jar:/usr/hdp/2.6.4.0-91/hadoop/conf:/usr/hdp/2.6.4.0-91/hadoop/lib/*:/usr/hdp/2.6.4.0-91/hadoop/.//*:/usr/hdp/2.6.4.0-91/hadoop-hdfs/./:/usr/hdp/2.6.4.0-91/hadoop-hdfs/lib/*:/usr/hdp/2.6.4.0-91/hadoop-hdfs/.//*:/usr/hdp/2.6.4.0-91/hadoop-yarn/lib/*:/usr/hdp/2.6.4.0-91/hadoop-yarn/.//*:/usr/hdp/2.6.4.0-91/hadoop-mapreduce/lib/*:/usr/hdp/2.6.4.0-91/hadoop-mapreduce/.//*::mysql-connector-java-5.1.33-bin.jar:mysql-connector-java.jar:/grid/0/hdp/2.6.4.0-91/tez/*:/grid/0/hdp/2.6.4.0-91/tez/lib/*:/grid/0/hdp/2.6.4.0-91/tez/conf
>  -Dproc_phoenixserver -Dlog4j.configuration=file:/grid/0/hdp/2.6.4.0-91/phoenix/bin/log4j.properties -Dpsql.root.logger=INFO,DRFA -Dpsql.log.dir=/grid/0/log/hbase -Dpsql.log.file=phoenix-hbase-server.log org.apache.phoenix.queryserver.server.Main
> close failed in file object destructor:
> IOError: [Errno 9] Bad file descriptor
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/grid/0/hdp/2.6.4.0-91/phoenix/phoenix-4.7.0.2.6.4.0-91-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/grid/0/hdp/2.6.4.0-91/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> starting Query Server, logging to /grid/0/log/hbase/phoenix-hbase-server.log
> Query Server already running, PID file found: /var/run/hbase/phoenix-hbase-server.pid
> close failed in file object destructor:
> IOError: [Errno 9] Bad file descriptor
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)