Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when sending lineage from Databricks to Marquez #1793

Closed
ganeshnikumbh opened this issue Dec 6, 2021 · 2 comments
Closed

Error when sending lineage from Databricks to Marquez #1793

ganeshnikumbh opened this issue Dec 6, 2021 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@ganeshnikumbh
Copy link

Hi ,

I am getting below error when sending the lineage data from databricks to marquez. I am reading a parquet file in azure adls and writing back into parquet in azure adls. I have also attached the lineage output from databricks. I found the issues is in api/src/main/java/marquez/common/models/NamespaceName.java file, In the regular expression we need to add the '@' symbol as well. Can you please fix this and rebuild the docker images?

error:

marquez-api | ERROR [2021-12-06 12:08:16,460] marquez.api.OpenLineageResource: Unexpected error while processing request
marquez-api | ! java.lang.IllegalArgumentException: namespace 'abfss://landingzone@.dfs.core.windows.net' must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), dashes (-), colons (:), slashes (/) or dots (.) with a maximum length of 1024 characters.
marquez-api | ! at com.google.common.base.Preconditions.checkArgument(Preconditions.java:407)
marquez-api | ! at marquez.common.models.NamespaceName.(NamespaceName.java:41)
marquez-api | ! at marquez.common.models.NamespaceName.of(NamespaceName.java:52)
marquez-api | ! at marquez.db.OpenLineageDao.toDatasetId(OpenLineageDao.java:270)
marquez-api | ! at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
marquez-api | ! at org.jdbi.v3.core.internal.exceptions.Unchecked.lambda$function$4(Unchecked.java:76)
marquez-api | ! at org.jdbi.v3.sqlobject.DefaultMethodHandler.invoke(DefaultMethodHandler.java:50)
marquez-api | ! at org.jdbi.v3.sqlobject.internal.SqlObjectInitData$1.lambda$invoke$0(SqlObjectInitData.java:132)
marquez-api | ! at org.jdbi.v3.core.internal.Invocations.invokeWith(Invocations.java:44)
marquez-api | ! at org.jdbi.v3.core.internal.Invocations.invokeWith(Invocations.java:26)
marquez-api | ! at org.jdbi.v3.core.LazyHandleSupplier.lambda$invokeInContext$1(LazyHandleSupplier.java:77)
marquez-api | ! at org.jdbi.v3.core.internal.Invocations.invokeWith(Invocations.java:44)
marquez-api | ! at org.jdbi.v3.core.internal.Invocations.invokeWith(Invocations.java:26)
marquez-api | ! at org.jdbi.v3.core.LazyHandleSupplier.invokeInContext(LazyHandleSupplier.java:76)
marquez-api | ! at org.jdbi.v3.sqlobject.internal.SqlObjectInitData$1.call(SqlObjectInitData.java:138)
marquez-api | ! at org.jdbi.v3.sqlobject.internal.SqlObjectInitData$1.invoke(SqlObjectInitData.java:132)
marquez-api | ! at org.jdbi.v3.sqlobject.SqlObjectFactory.lambda$attach$2(SqlObjectFactory.java:110)
marquez-api | ! at com.sun.proxy.$Proxy123.toDatasetId(Unknown Source)
marquez-api | ! at marquez.db.OpenLineageDao.updateBaseMarquezModel(OpenLineageDao.java:133)

@wslulciuc wslulciuc added the bug Something isn't working label Mar 31, 2022
@wslulciuc wslulciuc added this to the 0.22.0 milestone Mar 31, 2022
@wslulciuc
Copy link
Member

Fixed #1925

@wslulciuc wslulciuc moved this to Done in Marquez Mar 31, 2022
@gage-russell
Copy link

Why was this closed? --

#1925 addresses maximum length of 1024 characters.

But the issue is that@ is not included in the regex check for namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants