New job fails when adding a library from DBFS or S3

New jobs fail when adding a library from DBFS or S3 storage. Error Uncaught TypeError Cannot read property 'concat' of undefined

Written by jordan.hicks

Last published at: May 12th, 2022

Problem

You create a new job and attempt to add a library from DBFS or S3 storage.

The workspace UI returns an error.

Error: Uncaught TypeError: Cannot read property 'concat' of undefined
Reload the page and try again. If the error persists, contact support.

Clicking Reload page does not resolve the error message.

Cause

This is a known issue. A fix is expected in early December.

Solution

Until the permanent fix is available, you can use a workaround to add the library.

  1. Add a workspace library. (This can be any library. It is a temporary addition.)
  2. Add your selected library from DBFS or S3.
  3. Remove the workspace library.

You can now finish creating the job as normal.