You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (Commented) (JIRA)" <ji...@apache.org> on 2012/04/01 00:20:28 UTC

[jira] [Commented] (HBASE-5691) Importtsv stops the webservice from which it is evoked

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

stack commented on HBASE-5691:
------------------------------

It calls System.exit on the end:     System.exit(job.waitForCompletion(true) ? 0 : 1);.   How you invoking it?    You call main?   Why not call the createSubmittableJob(conf, otherArgs) and then pass the passed job to job.waitForCompletion(true)...  and show error or success dependent on what is returned.  Is it even  a good idea calling this script from a servlet?
                
> Importtsv stops the webservice from which it is evoked
> ------------------------------------------------------
>
>                 Key: HBASE-5691
>                 URL: https://issues.apache.org/jira/browse/HBASE-5691
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.4
>            Reporter: debarshi basak
>            Priority: Minor
>
> I was trying to run importtsv from a servlet. Everytime after the completion of job, the tomcat server was shutdown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira