cc created YARN-11145:
-------------------------
Summary: launch_container.sh problem when hive query with backqoute
Key: YARN-11145
URL: https://issues.apache.org/jira/browse/YARN-11145
Project: Hadoop YARN
Issue Type: Bug
Components: applications, ATSv2, distributed-shell
Affects Versions: 3.1.0
Reporter: cc
Attachments: image-2022-05-11-16-49-33-073.png
When hive query start up a Distcp job as a MapReduce job,it was name as
”distcp:[clipped SQL context]“ ,when the sql is [insert into mydb.newtb select
* from mydb.oldtb], it's like "distcp:insert into mydb.tb...db.oldtb". And this
name will be used in lancher.container.sh as the value of TIMELINE_FLOW_NAME_TAG
!image-2022-05-11-16-49-33-073.png!
When I use backquote on one of database name and table name,it will cause a
bash problem.Like
??export TIMELINE_FLOW_NAME_TAG="distcp: INSERT INTO mydb.ne ...db`.`oldtb`
(Stage-1)"??
in shell script file.The error is
??[container route]/launch_container.sh: line 33: unexpected EOF while looking
for matching ``'??
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]