-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-27352 - Quoted string argument with spaces passed from command line are propagated wrongly to the underlying java class #4754
Conversation
@ndimiduk Can you take a look whenever you get a chance, thanks |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Looks alright to me @ujjawal4046 . I looked back through the history on the original PR and don't see a reason why I used |
Yes, I had tested it manually after doing this change to ensure command line args are passed as it is from script to the underlying java class (for e.g. Import job). @ndimiduk Can you merge this if it looks okay ? |
I can, no problem. One small question before I do -- would you like to update the identity on your commit? Right now, it's |
…line are propagated wrongly to the underlying java class
0dcb525
to
f2ef0ea
Compare
@ndimiduk Sorry, looks like my work ID got attached. Have updated it. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…line are propagated wrongly to the underlying java class (apache#4754) Signed-off-by: Nick Dimiduk <[email protected]>
…line are propagated wrongly to the underlying java class (apache#4754) Signed-off-by: Nick Dimiduk <[email protected]>
…line are propagated wrongly to the underlying java class (#4754) Signed-off-by: Nick Dimiduk <[email protected]>
…line are propagated wrongly to the underlying java class (#4754) Signed-off-by: Nick Dimiduk <[email protected]>
It is due to the fact that read -r -a CMD_ARGS <<< "$@" in the hbase script would split command line args after expansion of
$@
array (i.e."$@"
) . Instead a straightforward array copy can be used.