-
Notifications
You must be signed in to change notification settings - Fork 149
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
java.lang.NoClassDefFoundError: org/apache/atlas/ApplicationProperties #299
Comments
Looks like you missed supplying the application properties file. |
any updates on this? |
This is due to a missing jar package. You can use the /spark-atlas-connector-assembly/target directory of the |
This is partially correct. As per the readme, the You also need to either
NOTE: I am trying to make this work in Azure Databricks, which requires an init script. I am only using the If you look at the static variable of the ApplicationProperties class, you can see that Spark Confextra class path (not working)I've tried setting the following spark conf options during
I tried multiple variations of folder paths, using the name of the file, not using the name of the file, using local:/folderpath, etc.
Summarized error:
We can see that the extra java options (working)I then tried setting Java system properties. specifically
I opted for using
|
spark version 2.4.5
atlas version 2.0.0
use maven execute
mvn package -DskipTests
successful!!
this screenshot
copy 1100-spark_model.json to <ATLAS_HOME>/models/1000-Hadoop
execute
spark-shell --jars spark-atlas-connector_2.11-0.1.0-SNAPSHOT.jar
--conf spark.extraListeners = com.hortonworks.spark.atlas.SparkAtlasEventTracker
--conf spark.sql.queryExecutionListeners = com.hortonworks.spark.atlas.SparkAtlasEventTracker
--conf spark.sql.streaming.streamingQueryListeners = com.hortonworks.spark.atlas.SparkAtlasStreamingQueryEventTracker
but I compiled successfully! why it says java.lang.NoClassDefFoundError: org/apache/atlas/ApplicationProperties what can I do?
The text was updated successfully, but these errors were encountered: