Re: custom JAVA_HOME

2016-08-03 Thread Pradeep A. Dalvi
+1 for adding support for Application Environment variables.

--prad

On Wed, Aug 3, 2016 at 10:10 AM, Sanjay Pujare 
wrote:

> +1 for Pramod’s idea of allowing all variables supported by YARN
>
> On 8/3/16, 12:56 AM, "Chinmay Kolhatkar"  wrote:
>
> +1 for the idea.
> Are there any in the list that one can see as conflicting with our own
> environment variables? For e.g. LOGNAME?
>
>
> On Wed, Aug 3, 2016 at 4:49 AM, Pramod Immaneni <
> pra...@datatorrent.com>
> wrote:
>
> > How about allowing specification of all environment variables
> supported by
> > YARN that are non-final described below
> >
> >
> >
> http://atetric.com/atetric/javadoc/org.apache.hadoop/hadoop-yarn-api/0.23.3/org/apache/hadoop/yarn/api/ApplicationConstants.Environment.html
> >
> > Thanks
> >
> > On Tue, Aug 2, 2016 at 3:43 PM, Vlad Rozov 
> > wrote:
> >
> > > Should Apex add JAVA_HOME to DAGContext and allow application to
> specify
> > > which JDK to use if there are multiple JDK installations on Hadoop
> > cluster?
> > > Yarn already supports custom JAVA_HOME (please see
> > > https://issues.apache.org/jira/browse/YARN-2481).
> > >
> > > Vlad
> > >
> >
>
>
>
>


Re: custom JAVA_HOME

2016-08-03 Thread Sanjay Pujare
+1 for Pramod’s idea of allowing all variables supported by YARN

On 8/3/16, 12:56 AM, "Chinmay Kolhatkar"  wrote:

+1 for the idea.
Are there any in the list that one can see as conflicting with our own
environment variables? For e.g. LOGNAME?


On Wed, Aug 3, 2016 at 4:49 AM, Pramod Immaneni 
wrote:

> How about allowing specification of all environment variables supported by
> YARN that are non-final described below
>
>
> 
http://atetric.com/atetric/javadoc/org.apache.hadoop/hadoop-yarn-api/0.23.3/org/apache/hadoop/yarn/api/ApplicationConstants.Environment.html
>
> Thanks
>
> On Tue, Aug 2, 2016 at 3:43 PM, Vlad Rozov 
> wrote:
>
> > Should Apex add JAVA_HOME to DAGContext and allow application to specify
> > which JDK to use if there are multiple JDK installations on Hadoop
> cluster?
> > Yarn already supports custom JAVA_HOME (please see
> > https://issues.apache.org/jira/browse/YARN-2481).
> >
> > Vlad
> >
>





Re: custom JAVA_HOME

2016-08-03 Thread Chinmay Kolhatkar
+1 for the idea.
Are there any in the list that one can see as conflicting with our own
environment variables? For e.g. LOGNAME?


On Wed, Aug 3, 2016 at 4:49 AM, Pramod Immaneni 
wrote:

> How about allowing specification of all environment variables supported by
> YARN that are non-final described below
>
>
> http://atetric.com/atetric/javadoc/org.apache.hadoop/hadoop-yarn-api/0.23.3/org/apache/hadoop/yarn/api/ApplicationConstants.Environment.html
>
> Thanks
>
> On Tue, Aug 2, 2016 at 3:43 PM, Vlad Rozov 
> wrote:
>
> > Should Apex add JAVA_HOME to DAGContext and allow application to specify
> > which JDK to use if there are multiple JDK installations on Hadoop
> cluster?
> > Yarn already supports custom JAVA_HOME (please see
> > https://issues.apache.org/jira/browse/YARN-2481).
> >
> > Vlad
> >
>


Re: custom JAVA_HOME

2016-08-02 Thread Pramod Immaneni
How about allowing specification of all environment variables supported by
YARN that are non-final described below

http://atetric.com/atetric/javadoc/org.apache.hadoop/hadoop-yarn-api/0.23.3/org/apache/hadoop/yarn/api/ApplicationConstants.Environment.html

Thanks

On Tue, Aug 2, 2016 at 3:43 PM, Vlad Rozov  wrote:

> Should Apex add JAVA_HOME to DAGContext and allow application to specify
> which JDK to use if there are multiple JDK installations on Hadoop cluster?
> Yarn already supports custom JAVA_HOME (please see
> https://issues.apache.org/jira/browse/YARN-2481).
>
> Vlad
>