You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2011/09/08 06:51:08 UTC

[jira] [Created] (OOZIE-208) GH-260: improve error messages when hitting invalid hdfs:// URIs

GH-260: improve error messages when hitting invalid hdfs://  URIs
-----------------------------------------------------------------

                 Key: OOZIE-208
                 URL: https://issues.apache.org/jira/browse/OOZIE-208
             Project: Oozie
          Issue Type: Bug
            Reporter: Hadoop QA


Currently Oozie is propagating the exception from Hadoop which is not clear at all

org.apache.oozie.action.ActionExecutorException: NumberFormatException: For input string: ""
	at org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:367)
	at org.apache.oozie.action.hadoop.FsActionExecutor.delete(FsActionExecutor.java:176)
	at org.apache.oozie.action.hadoop.FsActionExecutor.doOperations(FsActionExecutor.java:88)
	at org.apache.oozie.action.hadoop.JavaActionExecutor.prepare(JavaActionExecutor.java:558)
	at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:509)
	at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:571)
	at org.apache.oozie.command.wf.ActionStartCommand.call(ActionStartCommand.java:128)
	at org.apache.oozie.command.wf.ActionStartCommand.execute(ActionStartCommand.java:249)
	at org.apache.oozie.command.wf.ActionStartCommand.execute(ActionStartCommand.java:47)
	at org.apache.oozie.command.Command.call(Command.java:202)
	at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:211)
	at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:128)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NumberFormatException: For input string: ""
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:470)
	at java.lang.Integer.parseInt(Integer.java:499)
	at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:150)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:173)
	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:88)
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1489)
	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1523)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1505)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:227)
	at org.apache.oozie.service.KerberosHadoopAccessorService$3.run(KerberosHadoopAccessorService.java:192)
	at org.apache.oozie.service.KerberosHadoopAccessorService$3.run(KerberosHadoopAccessorService.java:188)
	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:1063)
	at org.apache.oozie.service.KerberosHadoopAccessorService.createFileSystem(KerberosHadoopAccessorService.java:188)
	at org.apache.oozie.action.hadoop.FsActionExecutor.getFileSystemFor(FsActionExecutor.java:123)
	at org.apache.oozie.action.hadoop.FsActionExecutor.delete(FsActionExecutor.java:166)
	... 13 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OOZIE-208) GH-260: improve error messages when hitting invalid hdfs:// URIs

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadoop QA resolved OOZIE-208.
-----------------------------

    Resolution: Fixed

> GH-260: improve error messages when hitting invalid hdfs://  URIs
> -----------------------------------------------------------------
>
>                 Key: OOZIE-208
>                 URL: https://issues.apache.org/jira/browse/OOZIE-208
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> Currently Oozie is propagating the exception from Hadoop which is not clear at all
> org.apache.oozie.action.ActionExecutorException: NumberFormatException: For input string: ""
> 	at org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:367)
> 	at org.apache.oozie.action.hadoop.FsActionExecutor.delete(FsActionExecutor.java:176)
> 	at org.apache.oozie.action.hadoop.FsActionExecutor.doOperations(FsActionExecutor.java:88)
> 	at org.apache.oozie.action.hadoop.JavaActionExecutor.prepare(JavaActionExecutor.java:558)
> 	at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:509)
> 	at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:571)
> 	at org.apache.oozie.command.wf.ActionStartCommand.call(ActionStartCommand.java:128)
> 	at org.apache.oozie.command.wf.ActionStartCommand.execute(ActionStartCommand.java:249)
> 	at org.apache.oozie.command.wf.ActionStartCommand.execute(ActionStartCommand.java:47)
> 	at org.apache.oozie.command.Command.call(Command.java:202)
> 	at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:211)
> 	at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:128)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NumberFormatException: For input string: ""
> 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> 	at java.lang.Integer.parseInt(Integer.java:470)
> 	at java.lang.Integer.parseInt(Integer.java:499)
> 	at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:150)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:173)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:88)
> 	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1489)
> 	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
> 	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1523)
> 	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1505)
> 	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:227)
> 	at org.apache.oozie.service.KerberosHadoopAccessorService$3.run(KerberosHadoopAccessorService.java:192)
> 	at org.apache.oozie.service.KerberosHadoopAccessorService$3.run(KerberosHadoopAccessorService.java:188)
> 	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:1063)
> 	at org.apache.oozie.service.KerberosHadoopAccessorService.createFileSystem(KerberosHadoopAccessorService.java:188)
> 	at org.apache.oozie.action.hadoop.FsActionExecutor.getFileSystemFor(FsActionExecutor.java:123)
> 	at org.apache.oozie.action.hadoop.FsActionExecutor.delete(FsActionExecutor.java:166)
> 	... 13 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (OOZIE-208) GH-260: improve error messages when hitting invalid hdfs:// URIs

Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik reopened OOZIE-208:
------------------------------------


> GH-260: improve error messages when hitting invalid hdfs://  URIs
> -----------------------------------------------------------------
>
>                 Key: OOZIE-208
>                 URL: https://issues.apache.org/jira/browse/OOZIE-208
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> Currently Oozie is propagating the exception from Hadoop which is not clear at all
> org.apache.oozie.action.ActionExecutorException: NumberFormatException: For input string: ""
> 	at org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:367)
> 	at org.apache.oozie.action.hadoop.FsActionExecutor.delete(FsActionExecutor.java:176)
> 	at org.apache.oozie.action.hadoop.FsActionExecutor.doOperations(FsActionExecutor.java:88)
> 	at org.apache.oozie.action.hadoop.JavaActionExecutor.prepare(JavaActionExecutor.java:558)
> 	at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:509)
> 	at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:571)
> 	at org.apache.oozie.command.wf.ActionStartCommand.call(ActionStartCommand.java:128)
> 	at org.apache.oozie.command.wf.ActionStartCommand.execute(ActionStartCommand.java:249)
> 	at org.apache.oozie.command.wf.ActionStartCommand.execute(ActionStartCommand.java:47)
> 	at org.apache.oozie.command.Command.call(Command.java:202)
> 	at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:211)
> 	at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:128)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NumberFormatException: For input string: ""
> 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> 	at java.lang.Integer.parseInt(Integer.java:470)
> 	at java.lang.Integer.parseInt(Integer.java:499)
> 	at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:150)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:173)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:88)
> 	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1489)
> 	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
> 	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1523)
> 	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1505)
> 	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:227)
> 	at org.apache.oozie.service.KerberosHadoopAccessorService$3.run(KerberosHadoopAccessorService.java:192)
> 	at org.apache.oozie.service.KerberosHadoopAccessorService$3.run(KerberosHadoopAccessorService.java:188)
> 	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:1063)
> 	at org.apache.oozie.service.KerberosHadoopAccessorService.createFileSystem(KerberosHadoopAccessorService.java:188)
> 	at org.apache.oozie.action.hadoop.FsActionExecutor.getFileSystemFor(FsActionExecutor.java:123)
> 	at org.apache.oozie.action.hadoop.FsActionExecutor.delete(FsActionExecutor.java:166)
> 	... 13 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira