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

ED-1232: OCI support for Build/DataPipeline/CoreDataProducts #172

Conversation

ddevadat
Copy link

@ddevadat ddevadat commented May 3, 2023

updated cloud-store-sdk to 1.4.6 along with associated class file changes

Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
…JAPACCOE-2821-release-5.0.0_RC1-release-5.1.1

Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Signed-off-by: Deepak Devadathan <[email protected]>
Copy link
Collaborator

@anandp504 anandp504 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddevadat Please address the PR comments

cd sunbird-analytics-core && git checkout $target_branch
fi
git clone https://github.com/ocisunbird/sunbird-analytics-core.git
cd sunbird-analytics-core && git checkout oci-5.1.0-JAPACCOE-2839-release-5.0.0_RC2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddevadat This looks like a release tag is hard coded in the .circleci/config.yml. This doesn't look right.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anandp504 you are right..lets park this PR as this needs some special attention.

The issue here is circle ci test runs. We have upgraded the cloud-store-sdk version in the analytics core repo, those changes are yet to merged in the release-5.1.1

Till that happens , everytime circle ci runs for core-dataproducts it will try to build from release-5.1.1 which doesnt have cloud-store-sdk:1.4.6 yet and will fail.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddevadat - Did we merge the analytics-core with the latest SDK changes? If yes, can we revert these changes back?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted the changes as the analytics core pr is merged

@ddevadat
Copy link
Author

@manjudr
we raised spark version to 3.2.1 to support oracle bds cluster. I change the jackson core version to 2.12.0. With that the analytics-core ci tests are running fine.

The problem is core-dataproducts.
I changed the spark version to 3.2.1, but i am getting errors like

(ip-10-0-178-138.ec2.internal executor driver): java.lang.NoSuchMethodError: 'org.apache.hadoop.fs.FutureDataInputStreamBuilder org.apache.hadoop.fs.FileSystem.openFile(org.apache.hadoop.fs.Path)'
	at org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:111)
	at org.apache.hadoop.mapred.TextInputFormat.getRecordReader(TextInputFormat.java:67)
	at org.apache.spark.rdd.HadoopRDD$$anon$1.liftedTree1$1(HadoopRDD.scala:286)
	at org.apache.spark.rdd.HadoopRDD$$anon$1.<init>(HadoopRDD.scala:285)
	at org.apache.spark.rdd.HadoopRDD.compute(HadoopRDD.scala:243)
	at org.apache.spark.rdd.HadoopRDD.compute(HadoopRDD.scala:96)

Any idea what could be causing this

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Signed-off-by: Deepak Devadathan <[email protected]>
@manjudr
Copy link
Collaborator

manjudr commented Jun 19, 2023

@ddevadat - Are you still facing the java.lang.NoSuchMethodError: 'org.apache.hadoop.fs.FutureDataInputStreamBuilder org.apache.hadoop.fs.FileSystem.openFile error?

@ddevadat
Copy link
Author

@ddevadat - Are you still facing the java.lang.NoSuchMethodError: 'org.apache.hadoop.fs.FutureDataInputStreamBuilder org.apache.hadoop.fs.FileSystem.openFile error?

@ddevadat - Are you still facing the java.lang.NoSuchMethodError: 'org.apache.hadoop.fs.FutureDataInputStreamBuilder org.apache.hadoop.fs.FileSystem.openFile error?

no this error is not seen in the last circle ci build and test run

@@ -29,6 +29,9 @@ trait BaseDruidQueryProcessor {
case "s3" =>
sc.hadoopConfiguration.set("fs.s3n.awsAccessKeyId", AppConf.getConfig(accountKey.getOrElse("aws_storage_key")));
sc.hadoopConfiguration.set("fs.s3n.awsSecretAccessKey", AppConf.getConfig(accountSecret.getOrElse("aws_storage_secret")));
case "oci" =>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddevadat - We are making some CSP refactor changes. We might be required to revise these changes again.

Copy link
Collaborator

@manjudr manjudr Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do it from our side but you might be required to validate with the OCI environment once.

ManjunathDavanam

This comment was marked as outdated.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.8) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@manjudr manjudr merged commit f39c2fb into Sunbird-Obsrv:release-5.1.1 Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants