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

stack commented on HBASE-9412:
------------------------------

Thanks for the +1 Ted.

What is happening (it seems) is that in this line:

{code}
 nohup $thiscmd --config "${HBASE_CONF_DIR}" internal_start $command $args < 
/dev/null > ${logout} 2>&1  &
{code}

..we are creating the 'logout' file before we do the internal_start call.  In 
internal_call we are rotating off the .out file if it exists which it does.. 
hence two .out on each startup.

The test failure is unrelated but this has broke before and it is a newish 
test.  Let me chase the owner.
                
> Startup scripts create 2 .out files.
> ------------------------------------
>
>                 Key: HBASE-9412
>                 URL: https://issues.apache.org/jira/browse/HBASE-9412
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.96.0
>            Reporter: Jean-Marc Spaggiari
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.96.1
>
>         Attachments: 9412.txt
>
>
> When start HBase with bin/start-hbase.sh, script creates 2 out files.
> {code}
> -rw-r--r-- 1 jmspaggiari jmspaggiari     0 Aug 31 15:38 
> hbase-jmspaggiari-master-t430s.out
> -rw-r--r-- 1 jmspaggiari jmspaggiari     0 Aug 31 15:38 
> hbase-jmspaggiari-master-t430s.out.1
> {code}
> Should create only one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to