Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-19056

Data Catalog steps failing to read from valid VFS connection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Severity: Unknown
    • Resolution: Unresolved
    • Affects Version/s: 9.1.0 GA
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
    • Story Points:
      0
    • 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:
      Windows 10
    • Steps to Reproduce:
      Hide

      VFS Setup)

      • Create new VFS connection to a Data Catalog instance
      • Add connection details and click "Test" to verify connection works before creating

      Issue #1)

      • Add a "Catalog Input" step to the canvas
      • Select the LDC VFS connection that was created above
      • See an error pop-up with text "{"message": "Not authenticated - legacy conditions"}"

      Issue #2)

      • Add a "Read Metadata" step to the canvas
      • Select the LDC VFS connection that was created above
      • Select "Search Criteria" as the Search By radio button option
      • Add a keyword criteria and click "OK"
      • Connect a Dummy step to the Read Metadata step and run the transformation
      • See the auth-related errors similar to that in Issue #1
      Show
      VFS Setup) Create new VFS connection to a Data Catalog instance Add connection details and click "Test" to verify connection works before creating Issue #1) Add a "Catalog Input" step to the canvas Select the LDC VFS connection that was created above See an error pop-up with text "{"message": "Not authenticated - legacy conditions"}" Issue #2) Add a "Read Metadata" step to the canvas Select the LDC VFS connection that was created above Select "Search Criteria" as the Search By radio button option Add a keyword criteria and click "OK" Connect a Dummy step to the Read Metadata step and run the transformation See the auth-related errors similar to that in Issue #1

      Description

      I have experienced this same issue using both PDI 9.1.0.0 as well as from the new build 9.1.0.3. 

      I'm attaching here below the error log from executing the transformation in #Issue 2:

      2021/01/11 10:57:13 - Carte - Installing timer to purge stale objects after 1440 minutes.2021/01/11 10:57:13 - Carte - Installing timer to purge stale objects after 1440 minutes.2021/01/11 10:57:43 - com.pentaho.di.plugins.catalog.readmeta.ReadMetadataMeta@7b297740 - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : 2021/01/11 10:57:43 - com.pentaho.di.plugins.catalog.readmeta.ReadMetadataMeta@7b297740 - {"message":"Not authenticated - legacy conditions"}2021/01/11 10:57:52 - Spoon - Running transformation using the Kettle execution engine2021/01/11 10:57:52 - Spoon - Transformation opened.2021/01/11 10:57:52 - Spoon - Launching transformation [test-ldc-vfs]...2021/01/11 10:57:52 - Spoon - Started the transformation execution.2021/01/11 10:57:54 - test-ldc-vfs - Dispatching started for transformation [test-ldc-vfs]2021/01/11 10:57:54 - Read Metadata.0 - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : 2021/01/11 10:57:54 - Read Metadata.0 - {"message":"Not authenticated - legacy conditions"}2021/01/11 10:57:54 - Read Metadata.0 - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : Unexpected error2021/01/11 10:57:54 - Read Metadata.0 - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : org.pentaho.di.core.exception.KettleException: 2021/01/11 10:57:54 - Read Metadata.0 - com.pentaho.di.plugins.catalog.api.CatalogClientException: 2021/01/11 10:57:54 - Read Metadata.0 - {"message":"Not authenticated - legacy conditions"}2021/01/11 10:57:54 - Read Metadata.0 - 2021/01/11 10:57:54 - Read Metadata.0 - 2021/01/11 10:57:54 - Read Metadata.0 - {"message":"Not authenticated - legacy conditions"}2021/01/11 10:57:54 - Read Metadata.0 - 2021/01/11 10:57:54 - Read Metadata.0 - 2021/01/11 10:57:54 - Read Metadata.0 - at com.pentaho.di.plugins.catalog.readmeta.ReadMetadataCatalog.doSearch(ReadMetadataCatalog.java:218)2021/01/11 10:57:54 - Read Metadata.0 - at com.pentaho.di.plugins.catalog.readmeta.ReadMetadataCatalog.processRow(ReadMetadataCatalog.java:115)2021/01/11 10:57:54 - Read Metadata.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)2021/01/11 10:57:54 - Read Metadata.0 - at java.lang.Thread.run(Unknown Source)2021/01/11 10:57:54 - Read Metadata.0 - Caused by: com.pentaho.di.plugins.catalog.api.CatalogClientException: 2021/01/11 10:57:54 - Read Metadata.0 - {"message":"Not authenticated - legacy conditions"}2021/01/11 10:57:54 - Read Metadata.0 - 2021/01/11 10:57:54 - Read Metadata.0 - at com.pentaho.di.plugins.catalog.api.resources.Resource.processBadHttpResponse(Resource.java:121)2021/01/11 10:57:54 - Read Metadata.0 - at com.pentaho.di.plugins.catalog.api.resources.Resource.write(Resource.java:81)2021/01/11 10:57:54 - Read Metadata.0 - at com.pentaho.di.plugins.catalog.api.resources.Search.doNew(Search.java:55)2021/01/11 10:57:54 - Read Metadata.0 - at com.pentaho.di.plugins.catalog.readmeta.ReadMetadataCatalog.doSearch(ReadMetadataCatalog.java:201)2021/01/11 10:57:54 - Read Metadata.0 - ... 3 more2021/01/11 10:57:54 - Read Metadata.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1)2021/01/11 10:57:54 - test-ldc-vfs - Transformation detected one or more steps with errors.2021/01/11 10:57:54 - test-ldc-vfs - Transformation is killing the other steps!2021/01/11 10:57:55 - test-ldc-vfs - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : Errors detected!2021/01/11 10:57:55 - Spoon - The transformation has finished!Unable to render embedded object: File (57:55 - test-ldc-vfs - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : Errors detected!2021/01/11 10:57:55 - test-ldc-vfs - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : Errors detected) not found.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ehartman Eddie Hartman
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: