Re: YarnException: Unauthorized request to start container. This token is expired.

2014-03-29 Thread omkar joshi
Can you check few things? What is the container expiry interval set to? How many containers are getting allocated? Is there any reservation of the containers happening..? if yes then that was a known problem...I don't remember the jira number though... Underlying problem in case of reservation was

Re: Command line tools for YARN

2013-12-27 Thread omkar joshi
if it is not present in CLI then writing a simple wrapper around yarn -web services will be a option. I think all your listed requirements will be covered with web services though On Thu, Dec 26, 2013 at 11:28 AM, Jian He j...@hortonworks.com wrote: 1) checking how many nodes are in my cluster

Re: Container exit status for released container

2013-12-27 Thread omkar joshi
I think this is tricky in the sense if application returns with same exit code then I am not sure if we differentiate between the two. But can be used as defaults. On Thu, Dec 26, 2013 at 11:24 AM, Jian He j...@hortonworks.com wrote: Not true, you can look at ContainerExitStatus.java which

Re: YARN: LocalResources and file distribution

2013-12-05 Thread omkar joshi
add this file in the files to be localized. (LocalResourceRequest). and then refer it as ./list.ksh .. While adding this to LocalResource specify the path which you have mentioned. On Thu, Dec 5, 2013 at 10:40 PM, Krishna Kishore Bonagiri write2kish...@gmail.com wrote: Hi Arun, I have

Re: In YARN, how does a task tracker knows the address of a job tracker?

2013-11-21 Thread Omkar Joshi
thishttp://www.slideshare.net/ovjforu/yarn-way-to-share-cluster-beyond (slide 12) for how job actually gets executed. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Thu, Nov 21, 2013 at 7:52 AM, ricky l rickylee0...@gmail.com wrote: Hi all, I have a question of how a task

Re: Limit on total jobs running using fair scheduler

2013-11-21 Thread Omkar Joshi
MRv2 :) Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Thu, Nov 21, 2013 at 1:46 PM, Ivan Tretyakov itretya...@griddynamics.com wrote: Thank you for your replies! We are using MR version 1 and my question is regarding this version. Omkar, are you talking about MR1

Re: Limit on total jobs running using fair scheduler

2013-11-19 Thread Omkar Joshi
Not sure about the fair scheduler but in capacity scheduler you can achieve this by controlling number of jobs/applications per queue. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Tue, Nov 19, 2013 at 3:26 AM, Ivan Tretyakov itretya...@griddynamics.com wrote: Hello

Re: DefaultResourceCalculator ClassNotFoundException

2013-11-18 Thread Omkar Joshi
. DefaultResourceCalculator only uses Memory while DominantResourceCalculator uses dominant-resource to compare multi-dimensional resources such as Memory, CPU etc. /description /property inside capacity-scheduler.xml Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com

Re: Cannot start resourcemanager

2013-10-17 Thread Omkar Joshi
to compare Resources in the scheduler. The default i.e. DefaultResourceCalculator only uses Memory while DominantResourceCalculator uses dominant-resource to compare multi-dimensional resources such as Memory, CPU etc. /description /property Thanks, Omkar Joshi

Re: Problem: org.apache.hadoop.mapred.ReduceTask: java.net.SocketTimeoutException: connect timed out

2013-10-03 Thread Omkar Joshi
what was the problem? oozie problem or machine was getting rebooted where map task ran before? Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Thu, Apr 18, 2013 at 12:47 PM, Som Satpathy somsatpa...@gmail.comwrote: Never mind, got it fixed. Thanks, Som On Tue, Apr

Re: Can container requests be made paralelly from multiple threads

2013-09-27 Thread Omkar Joshi
Hi, I suggest you should not do that. After YARN-744 goes in this will be prevented on RM side. May I know why you want to do this? any advantage/ use case? Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Fri, Sep 27, 2013 at 8:31 AM, Krishna Kishore Bonagiri write2kish

Re: Can container requests be made paralelly from multiple threads

2013-09-27 Thread Omkar Joshi
a request. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Fri, Sep 27, 2013 at 11:14 AM, Krishna Kishore Bonagiri write2kish...@gmail.com wrote: Hi Omkar, Thanks for the quick reply. I have a requirement for sets of containers depending on some of my business logic. I

Re: Distributed cache in command line

2013-09-23 Thread Omkar Joshi
Hi, I have no idea about RHadoop but in general in YARN we do create symlinks for the files in distributed cache in the current working directory of every container. You may be able to use that somehow. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Mon, Sep 23, 2013 at 6

Re: How to make hadoop use all nodes?

2013-09-19 Thread Omkar Joshi
running 2, few running 1 where as few with 0 containers. I hope it clarifies your doubt. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Thu, Sep 19, 2013 at 7:19 AM, Vandecreme, Antoine antoine.vandecr...@nist.gov wrote: Hi all, I am working with Hadoop 2.0.5 (I plan

Re: ContainerLaunchContext in 2.1.x

2013-09-05 Thread Omkar Joshi
) User 4) NodeId It is present there by default (irrespective of security). I hope it answers your doubt. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Wed, Sep 4, 2013 at 2:51 AM, Janne Valkealahti janne.valkeala...@gmail.com wrote: With 2.0.x ContainerId was part

Re: Cache file conflict

2013-08-29 Thread Omkar Joshi
you should check this https://issues.apache.org/jira/browse/MAPREDUCE-4493?focusedCommentId=13713706page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13713706 Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Thu, Aug 29, 2013 at 5:06 PM, Public

RE: Hadoop - impersonation doubts/issues while accessing from remote machine

2013-08-23 Thread Omkar Joshi
Thanks :) Regards, Omkar Joshi -Original Message- From: Harsh J [mailto:ha...@cloudera.com] Sent: Friday, August 23, 2013 3:52 PM To: user@hadoop.apache.org Subject: Re: Hadoop - impersonation doubts/issues while accessing from remote machine I've answered this on the stackoverflow

Hadoop - impersonation doubts/issues while accessing from remote machine

2013-08-22 Thread Omkar Joshi
(WordCounter.java:58) Regards, Omkar Joshi The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information

Re: Method Calls

2013-08-20 Thread Omkar Joshi
. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Tue, Aug 20, 2013 at 2:58 PM, Rajesh Jain rjai...@gmail.com wrote: I am looking for the various method calls (entry points) in the inter tier communication. When the client submits a job for map-reduce, what is the sequence

Re: setLocalResources() on ContainerLaunchContext

2013-08-07 Thread Omkar Joshi
location /kishore/kk.sh? is /kishore and /kishore/kk.sh accessible to the user who is making startContainer call or the one running AM container? Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Tue, Aug 6, 2013 at 10:43 PM, Krishna Kishore Bonagiri write2kish...@gmail.com wrote

Re: setLocalResources() on ContainerLaunchContext

2013-08-06 Thread Omkar Joshi
Hi, You need to match the timestamp. Probably get the timestamp locally before adding it. This is explicitly done to ensure that file is not updated after user makes the call to avoid possible errors. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Tue, Aug 6, 2013 at 5

Re: DistributedCache incompatibility issue between 1.0 and 2.0

2013-07-19 Thread Omkar Joshi
check https://issues.apache.org/jira/browse/MAPREDUCE-4493 and https://issues.apache.org/jira/browse/YARN-916 Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Fri, Jul 19, 2013 at 8:12 AM, Ted Yu yuzhih...@gmail.com wrote: See this thread also: http://search-hadoop.com/m

Re: New Distributed Cache

2013-07-11 Thread Omkar Joshi
. context.getLocalCacheFiles .. will give you the actual file path on node manager... (after file is localized). Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Thu, Jul 11, 2013 at 8:19 AM, Botelho, Andrew andrew.bote...@emc.comwrote: So in my driver code, I try to store the file in the cache

Re: New Distributed Cache

2013-07-10 Thread Omkar Joshi
did you try JobContext.getCacheFiles() ? Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Wed, Jul 10, 2013 at 10:15 AM, Botelho, Andrew andrew.bote...@emc.comwrote: Hi, ** ** I am trying to store a file in the Distributed Cache during my Hadoop job

Re: Distributed Cache

2013-07-10 Thread Omkar Joshi
try JobContext.getCacheFiles() Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Wed, Jul 10, 2013 at 6:31 AM, Botelho, Andrew andrew.bote...@emc.comwrote: Ok using job.addCacheFile() seems to compile correctly. However, how do I then access the cached file in my

Re: can not start yarn

2013-07-10 Thread Omkar Joshi
probably you should run jps everytime you start/stop NM/RM. just for you to know whether RM/NM started/stopped successfully or not. devaraj is right.. try checking RM logs.. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Tue, Jul 9, 2013 at 8:20 PM, Devaraj k devara

Re: ConnectionException in container, happens only sometimes

2013-07-10 Thread Omkar Joshi
can you post RM/NM logs too.? Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Wed, Jul 10, 2013 at 6:42 AM, Andrei faithlessfri...@gmail.com wrote: If it helps, full log of AM can be found herehttp://pastebin.com/zXTabyvv . On Wed, Jul 10, 2013 at 4:21 PM, Andrei

Re: Distributed Cache

2013-07-10 Thread Omkar Joshi
the uri used for localizing files... (original uri used for adding it to cache). getLocalCacheFiles .. will give you the actual file path on node manager. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Wed, Jul 10, 2013 at 2:43 PM, Botelho, Andrew andrew.bote...@emc.comwrote

Re: could only be replicated to 0 nodes instead of minReplication exception during job execution

2013-06-24 Thread Omkar Joshi
is as file creation in hdfs is failing it is marking that reduce attempt as failure and restarting it. Keep checking namenode state when it reaches 67%. Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Mon, Jun 24, 2013 at 3:01 PM, Yuzhang Han yuzhanghan1...@gmail.comwrote

Re: Compile Just a Subproject

2013-06-21 Thread Omkar Joshi
(with updated time stamp) or not in target directory.* Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Fri, Jun 21, 2013 at 3:12 PM, Curtis Ullerich curtuller...@gmail.comwrote: I've executed the commands as you've said, and the jar that is run is unchanged. Here's exactly

Reducer not getting called

2013-06-12 Thread Omkar Joshi
In the map method, image is mystic.JPG mystic.JPG is taken using K750i Returning from the map method But nothing is reflected in stdout logs of the reducer. What have I missed? Regards, Omkar Joshi The contents of this e-mail and any attachment(s) may contain

RE: Reducer not getting called

2013-06-12 Thread Omkar Joshi
Ok but that link is broken - can you provide a working one? Regards, Omkar Joshi -Original Message- From: Harsh J [mailto:ha...@cloudera.com] Sent: Thursday, June 13, 2013 11:01 AM To: user@hadoop.apache.org Subject: Re: Reducer not getting called You're not using the recommended

Re: Warnings?

2013-04-29 Thread Omkar Joshi
then you can try rebuilding your hadoop installation mvn clean install -Pnative -Pdist -Dtar -DskipTests Thanks, Omkar Joshi *Hortonworks Inc.* http://www.hortonworks.com On Mon, Apr 29, 2013 at 11:19 AM, Kevin Burton rkevinbur...@charter.netwrote: If it doesn't work what are my options

Re: M/R Staticstics

2013-04-26 Thread Omkar Joshi
Have you enabled security? can you share the output for your hdfs? bin/hadoop fs -ls / and is /tmp/hadoop-yarn/staging/history/done directory present in hdfs ? if so then what permissions? also please share exception stack trace... Thanks, Omkar Joshi Hortonworks Inc On Fri, Apr 26, 2013