-
Notifications
You must be signed in to change notification settings - Fork 14
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
#2172 - update hermes json files #2173
#2172 - update hermes json files #2173
Conversation
- updated json files - repiar of typo in menas password
"spark-conf": "--conf 'spark.driver.extraJavaOptions=-Denceladus.rest.uri=http://localhost:8080/rest_api/api -Dspline.mongodb.name=spline -Dspline.mongodb.url=mongodb://127.0.0.1:27017/ -Denceladus.recordId.generation.strategy=stableHashId'", | ||
"enceladus-job-jar": "spark-jobs/target/spark-jobs-2.19.0-SNAPSHOT.jar", | ||
"credentials": "--rest-api-credentials-file ~/.ssh/menasCredential.properties", | ||
"spark-conf": "--conf 'spark.driver.extraJavaOptions=-Denceladus.rest.uri=http://localhost:8080/rest_api_war/api -Dspline.mongodb.name=spline -Dspline.mongodb.url=mongodb://127.0.0.1:27017/ -Denceladus.recordId.generation.strategy=stableHashId'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think rest-api
is also in the default resource files. Shouldn't it be consistent? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. "_war" removed from all files in commit 314a6b2.
"credentials": "--rest-api-credentials-file ~/.ssh/menasCredential.properties", | ||
"spark-conf": "--conf 'spark.driver.extraJavaOptions=-Denceladus.rest.uri=http://localhost:8080/rest_api_war/api -Dspline.mongodb.name=spline -Dspline.mongodb.url=mongodb://127.0.0.1:27017/ -Denceladus.recordId.generation.strategy=stableHashId'", | ||
"enceladus-job-jar": "spark-jobs/target/spark-jobs-3.0.0-SNAPSHOT.jar", | ||
"credentials": "--rest-api-credentials-file ~/.ssh/menas-credential.properties", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change? Seems like personal setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to see it as small improvement to reach same pattern where CamelCase is used for Class files only. I am used to write these non-class files in format "word-word" or "word_word". I can see more similar locations with this naming. Are we following some format rules when to use CamelCase, w-w and w_w?
"enceladus-job-jar": "spark-jobs/target/spark-jobs-2.19.0-SNAPSHOT.jar", | ||
"credentials": "--rest-api-credentials-file ~/.ssh/menasCredential.properties", | ||
"spark-conf": "--conf 'spark.driver.extraJavaOptions=-Denceladus.rest.uri=http://localhost:8080/rest_api_war/api -Dspline.mongodb.name=spline -Dspline.mongodb.url=mongodb://127.0.0.1:27017/ -Denceladus.recordId.generation.strategy=stableHashId'", | ||
"enceladus-job-jar": "spark-jobs/target/spark-jobs-3.0.0-SNAPSHOT.jar", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonder if this somehow could be integrated with the current version. 🤔
This way it will be behind next month.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added as point for improvement in Issue #2168
- Removed "_war" from rest_api uri definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- code reviewed
- pulled
- built
- run
- Add properties to control 'datetimeRebaseModeInRead' for tests with ancient dates.
- Removed spline configuration properties.
…files' into feature/2172-update-hermes-json-files # Conflicts: # examples/data/e2e_tests/test_jsons/stdNfDnTest.json # examples/data/e2e_tests/test_jsons/stdNfDyTest.json # examples/data/e2e_tests/test_jsons/stdNtDnTest.json # examples/data/e2e_tests/test_jsons/stdNtDyTest.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@benedeki is right about the hardcoded version problem.
Otherwise LGTM (just read the code)
@@ -57,7 +57,7 @@ [email protected] | |||
enceladus.rest.hadoop.auth.krb5.keytab=hdfs.keytab | |||
|
|||
enceladus.rest.auth.inmemory.user=user | |||
enceladus.rest.auth.inmemory.password=chang< )eme | |||
enceladus.rest.auth.inmemory.password=changeme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this was a typo?
Could it have been a way to force the user of hermes to provide their own application.properties
while this file serving only as an example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. After some searching I have found answer from author about goal of this "typo". Reverted in commit 0f21273.
- Return to origin. Found record in history that it is not a typo but value for testing.
0f21273
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (just read the code)
@@ -30,7 +30,7 @@ | |||
"pluginName" : "DatasetComparison", | |||
"name": "DatasetComparison", | |||
"order" : 1, | |||
"args" : ["--format", "parquet", "--new-path", "#{new-std-data-path}#", "--ref-path", "#{ref-std-data-path}#", "--keys", "name" ], | |||
"args" : ["--format", "parquet", "--new-path", "#{new-std-data-path}#", "--ref-path", "#{ref-std-data-path}#", "--keys", "property", "--datetimeRebaseMode", "LEGACY"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"args" : ["--format", "parquet", "--new-path", "#{new-std-data-path}#", "--ref-path", "#{ref-std-data-path}#", "--keys", "property", "--datetimeRebaseMode", "LEGACY"], | |
"args" : ["--format", "parquet", "--new-path", "#{new-std-data-path}#", "--ref-path", "#{ref-std-data-path}#", "--keys", "property"], |
I think we said this is not needed anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We spoke about it, but my experiments confirmed that for four std json files this settings needs to be there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we updated Hermes to include datetimeRebaseMode
?
We removed the opting afaik - AbsaOSS/hermes#132
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, I was confused. datetimeRebaseMode
removed in commit 92d983d.
- Removed no more needed parameter for DatasetComparison
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comments were addressed, seems the ones of others too...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (just read the code)
- Update version to fix server build.
…files' into feature/2172-update-hermes-json-files
Revert version to correct one.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (I am sorry you had to switch Enceladus version back and forth -- not my intention indeed to complicate related setup)
New hermes json files can be tested with this Hermes PR
Closes #2172