Re: AWS CLI --jars comma problem

2015-12-07 Thread Akhil Das
Not a direct answer but you can create a big fat jar combining all the
classes in the three jars and pass it.

Thanks
Best Regards

On Thu, Dec 3, 2015 at 10:21 PM, Yusuf Can Gürkan 
wrote:

> Hello
>
> I have a question about AWS CLI for people who use it.
>
> I create a spark cluster with aws cli and i’m using spark step with jar
> dependencies. But as you can see below i can not set multiple jars because
> AWS CLI replaces comma with space in ARGS.
>
> Is there a way of doing it? I can accept every kind of solutions. For
> example, i tried to merge these two jar dependencies but i could not manage
> it.
>
>
> aws emr create-cluster
> …..
> …..
> Args=[--class,com.blabla.job,
> —jars,"/home/hadoop/first.jar,/home/hadoop/second.jar",
> /home/hadoop/main.jar,--verbose]
>
>
> I also tried to escape comma with \\, but it did not work.
>


AWS CLI --jars comma problem

2015-12-03 Thread Yusuf Can Gürkan
Hello

I have a question about AWS CLI for people who use it.

I create a spark cluster with aws cli and i’m using spark step with jar 
dependencies. But as you can see below i can not set multiple jars because AWS 
CLI replaces comma with space in ARGS.

Is there a way of doing it? I can accept every kind of solutions. For example, 
i tried to merge these two jar dependencies but i could not manage it.


aws emr create-cluster 
…..
…..
Args=[--class,com.blabla.job,—jars,"/home/hadoop/first.jar,/home/hadoop/second.jar",/home/hadoop/main.jar,--verbose]
 


I also tried to escape comma with \\, but it did not work.