You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/04/03 07:11:53 UTC

[jira] [Commented] (ZOOKEEPER-2156) If JAVA_HOME is not set zk startup and fetching status command execution result misleads user.

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

Hadoop QA commented on ZOOKEEPER-2156:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12709168/ZOOKEEPER-2156.1.patch
  against trunk revision 1669825.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2599//console

This message is automatically generated.

> If JAVA_HOME is not set zk startup and fetching status command execution result misleads user.
> ----------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2156
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2156
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: J.Andreina
>         Attachments: ZOOKEEPER-2156.1.patch
>
>
> If JAVA_HOME is not set,  zk startup and fetching status command execution result misleads user.
> 1. Eventhough zk startup has failed since JAVA_HOME is not set , on CLI it displays that zk STARTED.
> {noformat}
> #:~/Apr3rd/zookeeper-3.4.6/bin> ./zkServer.sh start
> JMX enabled by default
> Using config: /home/REX/Apr3rd/zookeeper-3.4.6/bin/../conf/zoo.cfg
> Starting zookeeper ... STARTED
> {noformat}
> 2.  Fetching zk status when JAVA_HOME is not set displays that process not running .
> {noformat}
> #:~/Apr3rd/zookeeper-3.4.6/bin> ./zkServer.sh status
> JMX enabled by default
> Using config: /home/REX/Apr3rd/zookeeper-3.4.6/bin/../conf/zoo.cfg
> Error contacting service. It is probably not running.
> {noformat}



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