[jira] [Commented] (HIVE-4881) hive local mode: java.io.FileNotFoundException: emptyFile

2013-09-09 Thread Bartosz Cisek (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13762110#comment-13762110
 ] 

Bartosz Cisek commented on HIVE-4881:
-

Thanks for response. We switched to server mode and problem was gone. I think 
this task might be closed.

 hive local mode: java.io.FileNotFoundException: emptyFile
 -

 Key: HIVE-4881
 URL: https://issues.apache.org/jira/browse/HIVE-4881
 Project: Hive
  Issue Type: Bug
 Environment: hive 0.9.0+158-1.cdh4.1.3.p0.23~squeeze-cdh4.1.3
Reporter: Bartosz Cisek
Assignee: Prasad Mujumdar
Priority: Critical

 Our hive jobs fail due to strange error pasted below. Strace showed that 
 process created this file, accessed it a few times and then it throwed 
 exception that it couldn't find file it just accessed. In next step it 
 unliked it. Yay.
 Very similar problem was reported [in already closed 
 task|https://issues.apache.org/jira/browse/HIVE-1633?focusedCommentId=13598983page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13598983]
  or left unresolved on [mailing 
 lists|http://mail-archives.apache.org/mod_mbox/hive-user/201307.mbox/%3c94f02eb368b740ebbcd94df4d5d1d...@amxpr03mb054.eurprd03.prod.outlook.com%3E].
 I'll be happy to provide required additional details. 
 {code:title=Stack trace}
 2013-07-18 12:49:46,109 ERROR security.UserGroupInformation 
 (UserGroupInformation.java:doAs(1335)) - PriviledgedActionException 
 as:username (auth:SIMPLE) cause:java.io.FileNotFoundException: File does not 
 exist: 
 /tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile
 2013-07-18 12:49:46,113 ERROR exec.ExecDriver 
 (SessionState.java:printError(403)) - Job Submission failed with exception 
 'java.io.FileNotFoundException(File does not exist: 
 /tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile)'
 java.io.FileNotFoundException: File does not exist: 
 /tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile
 at 
 org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:787)
 at 
 org.apache.hadoop.mapred.lib.CombineFileInputFormat$OneFileInfo.init(CombineFileInputFormat.java:462)
 at 
 org.apache.hadoop.mapred.lib.CombineFileInputFormat.getMoreSplits(CombineFileInputFormat.java:256)
 at 
 org.apache.hadoop.mapred.lib.CombineFileInputFormat.getSplits(CombineFileInputFormat.java:212)
 at 
 org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:392)
 at 
 org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:358)
 at 
 org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:387)
 at 
 org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:1040)
 at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1032)
 at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:172)
 at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:942)
 at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:895)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:396)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:895)
 at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:869)
 at 
 org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:435)
 at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:677)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
 {code}
 {code:title=strace with grep emptyFile}
 7385  14:48:02.808096 
 stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/emptyFile,
  {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
 7385  14:48:02.808201 
 stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/emptyFile,
  {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
 7385  14:48:02.808277 
 stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/emptyFile,
  {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
 7385  14:48:02.808348 
 

[jira] [Updated] (HIVE-4881) hive local mode: java.io.FileNotFoundException: emptyFile

2013-07-18 Thread Bartosz Cisek (JIRA)

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

Bartosz Cisek updated HIVE-4881:


Description: 
Our hive jobs fail due to strange error pasted below. Strace showed that 
process created this file, accessed it a few times and then it throwed 
exception that it couldn't find file it just accessed. In next step it unliked 
it. Yay.

Very similar problem was reported [in already closed 
task|https://issues.apache.org/jira/browse/HIVE-1633?focusedCommentId=13598983page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13598983]
 or left unresolved on [mailing 
lists|http://mail-archives.apache.org/mod_mbox/hive-user/201307.mbox/%3c94f02eb368b740ebbcd94df4d5d1d...@amxpr03mb054.eurprd03.prod.outlook.com%3E].

I'll be happy to provide required additional details. 

{code}
2013-07-18 12:49:46,109 ERROR security.UserGroupInformation 
(UserGroupInformation.java:doAs(1335)) - PriviledgedActionException as:username 
(auth:SIMPLE) cause:java.io.FileNotFoundException: File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile
2013-07-18 12:49:46,113 ERROR exec.ExecDriver 
(SessionState.java:printError(403)) - Job Submission failed with exception 
'java.io.FileNotFoundException(File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile)'
java.io.FileNotFoundException: File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile
at 
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:787)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat$OneFileInfo.init(CombineFileInputFormat.java:462)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat.getMoreSplits(CombineFileInputFormat.java:256)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat.getSplits(CombineFileInputFormat.java:212)
at 
org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:392)
at 
org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:358)
at 
org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:387)
at 
org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:1040)
at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1032)
at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:172)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:942)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:895)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
at 
org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:895)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:869)
at 
org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:435)
at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:677)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
{code}

  was:
Our hive jobs fail due to strange error pasted below. Strace showed that 
process created this file, accessed it a few times and then it throwed 
exception that it couldn't find file it just accessed. In next step it unliked 
it. Yay.

Very similar problem was reported [in already closed 
task|https://issues.apache.org/jira/browse/HIVE-1633?focusedCommentId=13598983page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13598983]
 or left unresolved on [mailing 
lists|http://mail-archives.apache.org/mod_mbox/hive-user/201307.mbox/%3c94f02eb368b740ebbcd94df4d5d1d...@amxpr03mb054.eurprd03.prod.outlook.com%3E].

I'll be happy to provide required additional details. 

{code}
2013-07-18 12:49:46,113 ERROR exec.ExecDriver 
(SessionState.java:printError(403)) - Job Submission failed with exception 
'java.io.FileNotFoundException(File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile)'
java.io.FileNotFoundException: File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile
at 
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:787)
at 

[jira] [Created] (HIVE-4881) hive local mode: java.io.FileNotFoundException: emptyFile

2013-07-18 Thread Bartosz Cisek (JIRA)
Bartosz Cisek created HIVE-4881:
---

 Summary: hive local mode: java.io.FileNotFoundException: emptyFile
 Key: HIVE-4881
 URL: https://issues.apache.org/jira/browse/HIVE-4881
 Project: Hive
  Issue Type: Bug
 Environment: hive 0.9.0+158-1.cdh4.1.3.p0.23~squeeze-cdh4.1.3
Reporter: Bartosz Cisek
Priority: Critical


Our hive jobs fail due to strange error pasted below. Strace showed that 
process created this file, accessed it a few times and then it throwed 
exception that it couldn't find file it just accessed. In next step it unliked 
it. Yay.

Very similar problem was reported [in already closed 
task|https://issues.apache.org/jira/browse/HIVE-1633?focusedCommentId=13598983page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13598983]
 or left unresolved on [mailing 
lists|http://mail-archives.apache.org/mod_mbox/hive-user/201307.mbox/%3c94f02eb368b740ebbcd94df4d5d1d...@amxpr03mb054.eurprd03.prod.outlook.com%3E].

I'll be happy to provide required additional details. 

{code}
2013-07-18 12:49:46,113 ERROR exec.ExecDriver 
(SessionState.java:printError(403)) - Job Submission failed with exception 
'java.io.FileNotFoundException(File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile)'
java.io.FileNotFoundException: File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile
at 
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:787)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat$OneFileInfo.init(CombineFileInputFormat.java:462)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat.getMoreSplits(CombineFileInputFormat.java:256)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat.getSplits(CombineFileInputFormat.java:212)
at 
org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:392)
at 
org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:358)
at 
org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:387)
at 
org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:1040)
at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1032)
at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:172)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:942)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:895)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
at 
org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:895)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:869)
at 
org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:435)
at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:677)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
{code}

--
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


[jira] [Updated] (HIVE-4881) hive local mode: java.io.FileNotFoundException: emptyFile

2013-07-18 Thread Bartosz Cisek (JIRA)

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

Bartosz Cisek updated HIVE-4881:


Description: 
Our hive jobs fail due to strange error pasted below. Strace showed that 
process created this file, accessed it a few times and then it throwed 
exception that it couldn't find file it just accessed. In next step it unliked 
it. Yay.

Very similar problem was reported [in already closed 
task|https://issues.apache.org/jira/browse/HIVE-1633?focusedCommentId=13598983page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13598983]
 or left unresolved on [mailing 
lists|http://mail-archives.apache.org/mod_mbox/hive-user/201307.mbox/%3c94f02eb368b740ebbcd94df4d5d1d...@amxpr03mb054.eurprd03.prod.outlook.com%3E].

I'll be happy to provide required additional details. 

{code:title=Stack trace}
2013-07-18 12:49:46,109 ERROR security.UserGroupInformation 
(UserGroupInformation.java:doAs(1335)) - PriviledgedActionException as:username 
(auth:SIMPLE) cause:java.io.FileNotFoundException: File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile
2013-07-18 12:49:46,113 ERROR exec.ExecDriver 
(SessionState.java:printError(403)) - Job Submission failed with exception 
'java.io.FileNotFoundException(File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile)'
java.io.FileNotFoundException: File does not exist: 
/tmp/username/hive_2013-07-18_12-49-45_218_605775464480014480/-mr-1/1/emptyFile
at 
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:787)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat$OneFileInfo.init(CombineFileInputFormat.java:462)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat.getMoreSplits(CombineFileInputFormat.java:256)
at 
org.apache.hadoop.mapred.lib.CombineFileInputFormat.getSplits(CombineFileInputFormat.java:212)
at 
org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:392)
at 
org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:358)
at 
org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:387)
at 
org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:1040)
at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1032)
at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:172)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:942)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:895)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
at 
org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:895)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:869)
at 
org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:435)
at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:677)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
{code}

{code:title=strace with grep emptyFile}
7385  14:48:02.808096 
stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/emptyFile,
 {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
7385  14:48:02.808201 
stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/emptyFile,
 {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
7385  14:48:02.808277 
stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/emptyFile,
 {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
7385  14:48:02.808348 
stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/emptyFile,
 {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
7385  14:48:02.808506 
stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/.emptyFile.crc,
 {st_mode=S_IFREG|0640, st_size=8, ...}) = 0
7385  14:48:02.808584 
stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/.emptyFile.crc,
 {st_mode=S_IFREG|0640, st_size=8, ...}) = 0
7385  14:48:02.808650 
stat(/tmp/username/hive_2013-07-18_14-48-00_700_8005967322498387476/-mr-1/1/.emptyFile.crc,
 {st_mode=S_IFREG|0640, st_size=8, ...}) = 0
7385  14:48:02.808708