Skip to content

Conversation

@LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Apr 25, 2023

What changes were proposed in this pull request?

This pr clean up the following unused members from SparkHadoopUtil:

  • listLeafDirStatuses: introduced by SPARK-3928 and no longer used after SPARK-7673
  • listFilesSorted: introduced by SPARK-5342 and no longer used after SPARK-23361
  • getSuffixForCredentialsPath: same as listFilesSorted
  • SPARK_YARN_CREDS_TEMP_EXTENSION: same as listFilesSorted
  • SPARK_YARN_CREDS_COUNTER_DELIM: same as listFilesSorted

Why are the changes needed?

Code cleanup

Does this PR introduce any user-facing change?

No, all cleaned up are internal APIs

How was this patch tested?

Pass GitHub Action

@github-actions github-actions bot added the CORE label Apr 25, 2023
@LuciferYang LuciferYang marked this pull request as draft April 25, 2023 09:35
Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

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

Looks good, mark it ready to merge when ready

@LuciferYang LuciferYang marked this pull request as ready for review May 5, 2023 08:16
@srowen
Copy link
Member

srowen commented May 5, 2023

Merged to master

@srowen srowen closed this in 44e6859 May 5, 2023
@LuciferYang
Copy link
Contributor Author

Thanks @srowen

LuciferYang added a commit to LuciferYang/spark that referenced this pull request May 10, 2023
### What changes were proposed in this pull request?

This pr clean up the following unused members from `SparkHadoopUtil`:

- `listLeafDirStatuses`: introduced by SPARK-3928 and no longer used after SPARK-7673
- `listFilesSorted`: introduced by SPARK-5342 and no longer used after SPARK-23361
- `getSuffixForCredentialsPath`: same as `listFilesSorted`
- `SPARK_YARN_CREDS_TEMP_EXTENSION`: same as `listFilesSorted`
- `SPARK_YARN_CREDS_COUNTER_DELIM`: same as `listFilesSorted`

### Why are the changes needed?
Code cleanup

### Does this PR introduce _any_ user-facing change?
No, all cleaned up are internal APIs

### How was this patch tested?
Pass GitHub Action

Closes apache#40942 from LuciferYang/SPARK-43279.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Sean Owen <srowen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants