You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "cc (Jira)" <ji...@apache.org> on 2022/05/11 09:04:00 UTC

[jira] [Updated] (YARN-11145) launch_container.sh problem when hive query with backqoute

     [ https://issues.apache.org/jira/browse/YARN-11145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cc updated YARN-11145:
----------------------
    Description: 
When hive query start up a Distcp job as a MapReduce job,it was named as ”distcp:[clipped SQL context]“  by default,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 ``'??

 

  was:
When hive query start up a Distcp job as a MapReduce job,it was named 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 ``'??

 


> 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
>            Priority: Minor
>         Attachments: image-2022-05-11-16-49-33-073.png
>
>
> When hive query start up a Distcp job as a MapReduce job,it was named as ”distcp:[clipped SQL context]“  by default,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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org