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

[CARBONDATA-3910]Fix load failure in cluster when csv present in local file system in case of global sort #3838

Closed
wants to merge 1 commit into from

Conversation

akashrn5
Copy link
Contributor

@akashrn5 akashrn5 commented Jul 12, 2020

Why is this PR needed?

when the csv file is present in local file system and we load the table in cluster, it fails with file not found. This is because when we try to update the file path, we remove one slash in schema which causes this issue.

What changes were proposed in this PR?

Its better to check for "file:/" instead of "file:///" for local file, as getUpdatedfilePath API may remove one slash and cause this issue.

Does this PR introduce any user interface change?

  • No

Is any new testcase added?

  • No(tested in cluster)

@CarbonDataQA1
Copy link

Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/3359/

@CarbonDataQA1
Copy link

Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1618/

@akashrn5 akashrn5 changed the title [WIP]Fix load failure in cluster when csv present in local file system in case of global sort [CARBONDATA-3910]Fix load failure in cluster when csv present in local file system in case of global sort Jul 17, 2020
@akashrn5
Copy link
Contributor Author

retest this please

@CarbonDataQA1
Copy link

Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1669/

@CarbonDataQA1
Copy link

Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/3411/

@kunal642
Copy link
Contributor

retest this please

@CarbonDataQA1
Copy link

Build Success with Spark 2.4.5, Please check CI http://121.244.95.60:12545/job/ApacheCarbon_PR_Builder_2.4.5/1721/

@CarbonDataQA1
Copy link

Build Success with Spark 2.3.4, Please check CI http://121.244.95.60:12545/job/ApacheCarbonPRBuilder2.3/3463/

@kunal642
Copy link
Contributor

LGTM

@asfgit asfgit closed this in eb7757b Jul 22, 2020
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.

None yet

3 participants