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

[Bug] [tez] shuffle can not read the data which have flush to hdfs. #1081

Closed
3 tasks done
zhengchenyu opened this issue Aug 4, 2023 · 0 comments · Fixed by #1118
Closed
3 tasks done

[Bug] [tez] shuffle can not read the data which have flush to hdfs. #1081

zhengchenyu opened this issue Aug 4, 2023 · 0 comments · Fixed by #1118

Comments

@zhengchenyu
Copy link
Collaborator

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

big shuffle data will flush to hdfs. But shuffle can no read these data. The reason is that baseDir is missing.

org.apache.uniffle.common.exception.RssFetchFailedException: Failed to read shuffle data from WARM handler
	at org.apache.uniffle.storage.handler.impl.ComposedClientReadHandler.readShuffleData(ComposedClientReadHandler.java:124)
	at org.apache.uniffle.storage.handler.impl.ComposedClientReadHandler.readShuffleData(ComposedClientReadHandler.java:134)
	at org.apache.uniffle.client.impl.ShuffleReadClientImpl.read(ShuffleReadClientImpl.java:348)
	at org.apache.uniffle.client.impl.ShuffleReadClientImpl.readShuffleBlockData(ShuffleReadClientImpl.java:267)
	at org.apache.tez.runtime.library.common.shuffle.orderedgrouped.RssTezShuffleDataFetcher.copyFromRssServer(RssTezShuffleDataFetcher.java:144)
	at org.apache.tez.runtime.library.common.shuffle.orderedgrouped.RssTezShuffleDataFetcher.fetchAllRssBlocks(RssTezShuffleDataFetcher.java:129)
	at org.apache.tez.runtime.library.common.shuffle.orderedgrouped.RssTezShuffleDataFetcher.callInternal(RssTezShuffleDataFetcher.java:108)
	at org.apache.tez.runtime.library.common.shuffle.orderedgrouped.RssTezShuffleDataFetcher.callInternal(RssTezShuffleDataFetcher.java:38)
	at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
	at org.apache.uniffle.com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
	at org.apache.uniffle.com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
	at org.apache.uniffle.com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.uniffle.common.exception.RssException: Can't get FileSystem for null/appattempt_1691045129773_0174_000001/1000001/5-5
	at org.apache.uniffle.storage.handler.impl.HadoopClientReadHandler.init(HadoopClientReadHandler.java:129)
	at org.apache.uniffle.storage.handler.impl.HadoopClientReadHandler.readShuffleData(HadoopClientReadHandler.java:199)
	at org.apache.uniffle.storage.handler.impl.ComposedClientReadHandler.readShuffleData(ComposedClientReadHandler.java:113)
	... 14 more

Affects Version(s)

master

Uniffle Server Log Output

No response

Uniffle Engine Log Output

No response

Uniffle Server Configurations

No response

Uniffle Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
zhengchenyu added a commit to zhengchenyu/incubator-uniffle that referenced this issue Aug 8, 2023
jerqi pushed a commit that referenced this issue Aug 9, 2023
…dfs (#1118)

### What changes were proposed in this pull request?

Apply remote storage configuration.

### Why are the changes needed?

Reduce does not load remote storage path. If shuffle data have flushed to remote storage, reduce can not read. 

Fix: #1081

### How was this patch tested?

test in cluster and UT.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant