You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "samserpoosh (via GitHub)" <gi...@apache.org> on 2024/04/16 02:01:12 UTC
[I] [SUPPORT] The Hive run_sync_tool's Logged Output & The Actual Command Do Not Match [hudi]
samserpoosh opened a new issue, #11029:
URL: https://github.com/apache/hudi/issues/11029
This is a pretty small/minor issue I noticed while working with the `HiveSyncTool`. Essentially what's being logged does **not** match what's actually being executed:
https://github.com/apache/hudi/blob/40d4f489389083e3c6d69954361d3de4aec8186a/hudi-sync/hudi-hive-sync/run_sync_tool.sh#L54-L55
As you see in the above snippet, the JARs passed to the `java -cp` command have one order when they're logged and another when the command is actually executed. I made the below change on my end and was able to run the `HiveSyncTool` without any issues. But with the original ordering, I was getting `ClassNotFound` exception.
```diff
echo "Running Command : java -cp ${HADOOP_HIVE_JARS}:${HADOOP_CONF_DIR}:$HUDI_HIVE_UBER_JAR org.apache.hudi.hive.HiveSyncTool $@"
- java -cp $HUDI_HIVE_UBER_JAR:${HADOOP_HIVE_JARS}:${HADOOP_CONF_DIR} org.apache.hudi.hive.HiveSyncTool "$@"
+ java -cp ${HADOOP_HIVE_JARS}:${HADOOP_CONF_DIR}:$HUDI_HIVE_UBER_JAR org.apache.hudi.hive.HiveSyncTool "$@"
```
I'm happy to submit a PR IF you all think this is indeed something that should be resolved. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] The Hive run_sync_tool's Logged Command & The Actual Command Do Not Match [hudi]
Posted by "ad1happy2go (via GitHub)" <gi...@apache.org>.
ad1happy2go commented on issue #11029:
URL: https://github.com/apache/hudi/issues/11029#issuecomment-2087977490
@samserpoosh Were you able to work on this PR. Do let us know.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] The Hive run_sync_tool's Logged Command & The Actual Command Do Not Match [hudi]
Posted by "voonhous (via GitHub) via commits" <co...@hudi.apache.org>.
voonhous closed issue #11029: [SUPPORT] The Hive run_sync_tool's Logged Command & The Actual Command Do Not Match
URL: https://github.com/apache/hudi/issues/11029
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] The Hive run_sync_tool's Logged Command & The Actual Command Do Not Match [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on issue #11029:
URL: https://github.com/apache/hudi/issues/11029#issuecomment-2058252483
Sure, thanks for the nice findings and welcome to any contributions:)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org