[ 
https://issues.apache.org/jira/browse/HIVE-12155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Qiuzhuang Lian updated HIVE-12155:
----------------------------------
    Description: 
We run sqoop-hive import job via RunJar to harness parallelisms runnings. Sqoop 
hive import works very well but suddenly the sqoop-hive import job JVM exits 
with "Hive exited with status 5" error during hive import phrase which invokes 
HIVE CLI via java Process.  Futhermore, we can't find any related hive logs 
under /tmp/hive/hive_*.log. The error blocks all futher sqoop import jobs. As a 
result, we have to restart system and it works well again. The log detail is as 
follows,

Encountered IOException running import job: java.io.IOException: Hive exited 
with status 5
        at 
org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:385)
        at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:335)
        at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:239)
        at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:511)

  was:
When run the sqoop-hive import job via RunJar to harness parallelisms job 
runnings. Sqoop hive import work very well but suddenly all sqoop-hive import 
job JVM exits with "Hive exited with status 5" hint during hive import phrase 
which invokes HIVE CLI via java process.  Futhermore, we can not find any 
related hive logs under /tmp/hive/hive_*.log. This error blocks all futher 
sqoop import job. As a result, we have to restart system and it works well 
again. The log detail is as follows,

Encountered IOException running import job: java.io.IOException: Hive exited 
with status 5
        at 
org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:385)
        at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:335)
        at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:239)
        at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:511)


> hive exit with status 5
> -----------------------
>
>                 Key: HIVE-12155
>                 URL: https://issues.apache.org/jira/browse/HIVE-12155
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI, Clients
>    Affects Versions: 1.2.1
>         Environment: Sqoop 1.4.5 & hadoop 2.6 & hive 1.2.1
>            Reporter: Qiuzhuang Lian
>
> We run sqoop-hive import job via RunJar to harness parallelisms runnings. 
> Sqoop hive import works very well but suddenly the sqoop-hive import job JVM 
> exits with "Hive exited with status 5" error during hive import phrase which 
> invokes HIVE CLI via java Process.  Futhermore, we can't find any related 
> hive logs under /tmp/hive/hive_*.log. The error blocks all futher sqoop 
> import jobs. As a result, we have to restart system and it works well again. 
> The log detail is as follows,
> Encountered IOException running import job: java.io.IOException: Hive exited 
> with status 5
>         at 
> org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:385)
>         at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:335)
>         at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:239)
>         at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:511)



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

Reply via email to