Details

    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Operating System/s:
      Ubuntu 11.x (64-bit)

      Description

      This IS NOT an issue in 4.3.0 GA.

      Update: All HDFS steps are not affected. This seems to be isolated to the HDFS Browser.

      To reproduce:

      • From Spoon's main menu do a "File/Open URL"
      • Choose "HDFS:" from the "Loon In" drop down.
      • Enter "bad-qa-apahad" in the "Server" field.
      • Enter "54310" in the "Port" field.

      No error is displayed via a dialog but the Spoon console will have:

      org.apache.commons.vfs.FileSystemException: Badly formed URI "hdfs://bad-qa-apahad:54310".
      at org.apache.commons.vfs.provider.url.UrlFileProvider.findFile(Unknown Source)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(Unknown Source)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(Unknown Source)
      at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile(Unknown Source)
      at org.pentaho.di.ui.vfs.hadoopvfsfilechooserdialog.HadoopVfsFileChooserDialog$3.widgetSelected(HadoopVfsFileChooserDialog.java:228)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:414)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:336)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:328)
      at org.pentaho.di.ui.spoon.Spoon.openFileVFSFile(Spoon.java:3964)
      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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
      at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
      at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
      at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:26)
      at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:85)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221)
      at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044)
      at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8298)
      at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
      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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      Caused by: java.net.MalformedURLException: unknown protocol: hdfs
      at java.net.URL.<init>(URL.java:574)
      at java.net.URL.<init>(URL.java:464)
      at java.net.URL.<init>(URL.java:413)
      ... 40 more
      ERROR 10-10 09:39:47,558 - Error invoking method: spoon.openFileVFSFile()
      java.lang.reflect.InvocationTargetException
      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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
      at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
      at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
      at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:26)
      at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:85)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221)
      at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044)
      at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8298)
      at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
      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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      Caused by: java.lang.NullPointerException
      at org.pentaho.vfs.ui.VfsFileChooserDialog.setSelectedFile(VfsFileChooserDialog.java:978)
      at org.pentaho.di.ui.vfs.hadoopvfsfilechooserdialog.HadoopVfsFileChooserDialog$3.widgetSelected(HadoopVfsFileChooserDialog.java:233)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:414)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:336)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:328)
      at org.pentaho.di.ui.spoon.Spoon.openFileVFSFile(Spoon.java:3964)
      ... 26 more
      ERROR 10-10 09:39:47,560 - Error calling oncommand event
      org.pentaho.ui.xul.XulException: Error invoking method: spoon.openFileVFSFile()
      at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:333)
      at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
      at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
      at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:26)
      at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:85)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221)
      at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044)
      at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8298)
      at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
      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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      Caused by: java.lang.reflect.InvocationTargetException
      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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
      ... 21 more
      Caused by: java.lang.NullPointerException
      at org.pentaho.vfs.ui.VfsFileChooserDialog.setSelectedFile(VfsFileChooserDialog.java:978)
      at org.pentaho.di.ui.vfs.hadoopvfsfilechooserdialog.HadoopVfsFileChooserDialog$3.widgetSelected(HadoopVfsFileChooserDialog.java:233)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:414)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:336)
      at org.pentaho.vfs.ui.VfsFileChooserDialog.open(VfsFileChooserDialog.java:328)
      at org.pentaho.di.ui.spoon.Spoon.openFileVFSFile(Spoon.java:3964)
      ... 26 more

        Activity

        Hide
        sflatley Sean Flatley (Inactive) added a comment -

        The the big data plugin.properties file this is set:
        active.hadoop.configuration=hadoop-20

        Show
        sflatley Sean Flatley (Inactive) added a comment - The the big data plugin.properties file this is set: active.hadoop.configuration=hadoop-20
        Hide
        jganoff Jordan Ganoff (Inactive) added a comment -

        Looks like the Hadoop File Chooser Dialog is trying to resolve VFS file URLs from the wrong VFS FileSystemManager.

        Show
        jganoff Jordan Ganoff (Inactive) added a comment - Looks like the Hadoop File Chooser Dialog is trying to resolve VFS file URLs from the wrong VFS FileSystemManager.
        Hide
        jganoff Jordan Ganoff (Inactive) added a comment -

        I've fixed the VFS file resolving in code within HDFS File Chooser Dialog and also checked in the apache-vfs-browser's pentaho-vfs-browser-*.jar artifact into Kettle so those changes made for PDI-8224 show up in the CI builds.

        Show
        jganoff Jordan Ganoff (Inactive) added a comment - I've fixed the VFS file resolving in code within HDFS File Chooser Dialog and also checked in the apache-vfs-browser's pentaho-vfs-browser-*.jar artifact into Kettle so those changes made for PDI-8224 show up in the CI builds.
        Hide
        ecuellar Ezequiel Cuellar added a comment -

        Validating

        Show
        ecuellar Ezequiel Cuellar added a comment - Validating

          People

          • Assignee:
            Unassigned
            Reporter:
            sflatley Sean Flatley (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: