Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-2261

Job submission fails with IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk, 0.11
    • extensions
    • None

    Description

      I tried registering and submitting jobs via webhdfs and got the following error :

      pragya.mittal@falcon1001:~$ falcon extension -register -extensionName example-1 -path webhdfs://192.168.138.236:14000/tmp/extensions/extension-example
      Extension :example-1 registered successfully.
      
      pragya.mittal@falcon1001:~$ falcon extension -submitAndSchedule -extensionName example-1 -jobName job-instance1 -file abc
      Error in building the extension:java.lang.IllegalArgumentException: Wrong FS: webhdfs://192.168.138.236:14000/tmp/extensions/extension-example/libs/build, expected: hdfs://192.168.138.236:8020
      	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:645)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:193)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:105)
      	at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1118)
      	at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114)
      	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114)
      	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337)
      	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:289)
      	at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1970)
      	at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1939)
      	at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1915)
      	at org.apache.falcon.ExtensionHandler.copyExtensionPackage(ExtensionHandler.java:163)
      	at org.apache.falcon.ExtensionHandler.loadAndPrepare(ExtensionHandler.java:102)
      	at org.apache.falcon.client.FalconClient.getEntities(FalconClient.java:1164)
      	at org.apache.falcon.client.FalconClient.validateExtensionAndGetEntities(FalconClient.java:1130)
      	at org.apache.falcon.client.FalconClient.getEntitiesForm(FalconClient.java:1099)
      	at org.apache.falcon.client.FalconClient.submitAndScheduleExtensionJob(FalconClient.java:1180)
      	at org.apache.falcon.cli.FalconExtensionCLI.extensionCommand(FalconExtensionCLI.java:127)
      	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:128)
      	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:62)
      
      ERROR: Error in building the extension:Wrong FS: webhdfs://192.168.138.236:14000/tmp/extensions/extension-example/libs/build, expected: hdfs://192.168.138.236:8020
      

      Attachments

        Issue Links

          Activity

            People

              sandeep.samudrala sandeep samudrala
              pragya.mittal Pragya Mittal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: