Re: test-patch failing with OOM errors in javah

2013-10-30 Thread Omkar Joshi
yes even I do the same.. I just use this to build

export _JAVA_OPTIONS=-Djava.awt.headless=true -Xmx2048m -Xms2048m
mvn clean install package -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip=true


Thanks,
Omkar Joshi
*Hortonworks Inc.* http://www.hortonworks.com


On Wed, Oct 30, 2013 at 3:39 PM, Roman Shaposhnik r...@apache.org wrote:

 I can take a look sometime later today. Meantime I can only
 say that I've been running into 1Gb limit in a few builds as
 of late. These days -- I just go with 2G by default.

 Thanks,
 Roman.

 On Wed, Oct 30, 2013 at 3:33 PM, Alejandro Abdelnur t...@cloudera.com
 wrote:
  The following is happening in builds for MAPREDUCE and YARN patches.
  I've seen the failures in hadoop5 and hadoop7 machines. I've increased
  Maven memory to 1GB (export MAVEN_OPTS=-Xmx1024m in the jenkins
  jobs) but still some failures persist:
  https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4159/
 
  Does anybody has an idea of what may be going on?
 
 
 
  thx
 
 
  [INFO] --- native-maven-plugin:1.0-alpha-7:javah (default) @
 hadoop-common ---
  [INFO] /bin/sh -c cd
 
 /home/jenkins/jenkins-slave/workspace/PreCommit-MAPREDUCE-Build/trunk/hadoop-common-project/hadoop-common
   /home/jenkins/tools/java/latest/bin/javah -d
 
 /home/jenkins/jenkins-slave/workspace/PreCommit-MAPREDUCE-Build/trunk/hadoop-common-project/hadoop-common/target/native/javah
  -classpath
 /home/jenkins/jenkins-slave/workspace/PreCommit-MAPREDUCE-Build/trunk/hadoop-common-project/hadoop-common/target/classes:/home/jenkins/jenkins-slave/workspace/PreCommit-MAPREDUCE-Build/trunk/hadoop-common-project/hadoop-annotations/target/classes:/home/jenkins/tools/java/jdk1.6.0_26/jre/../lib/tools.jar:/home/jenkins/.m2/repository/com/google/guava/guava/11.0.2/guava-11.0.2.jar:/home/jenkins/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/home/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/jenkins/.m2/repository/org/apache/commons/commons-math/2.1/commons-math-2.1.jar:/home/jenkins/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/home/jenkins/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/jenkins/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/home/jenkins/.m2/repository/commons-io/commons-io/2.1/commons-io-2.1.jar:/home/jenkins/.m2/repository/commons-net/commons-net/3.1/commons-net-3.1.jar:/home/jenkins/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/jenkins/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/home/jenkins/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/home/jenkins/.m2/repository/com/sun/jersey/jersey-core/1.9/jersey-core-1.9.jar:/home/jenkins/.m2/repository/com/sun/jersey/jersey-json/1.9/jersey-json-1.9.jar:/home/jenkins/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/home/jenkins/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/home/jenkins/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3-1/jaxb-impl-2.2.3-1.jar:/home/jenkins/.m2/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar:/home/jenkins/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/jenkins/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.8.8/jackson-jaxrs-1.8.8.jar:/home/jenkins/.m2/repository/org/codehaus/jackson/jackson-xc/1.8.8/jackson-xc-1.8.8.jar:/home/jenkins/.m2/repository/com/sun/jersey/jersey-server/1.9/jersey-server-1.9.jar:/home/jenkins/.m2/repository/asm/asm/3.2/asm-3.2.jar:/home/jenkins/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/home/jenkins/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/home/jenkins/.m2/repository/net/java/dev/jets3t/jets3t/0.6.1/jets3t-0.6.1.jar:/home/jenkins/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar:/home/jenkins/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/home/jenkins/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/home/jenkins/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/home/jenkins/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/home/jenkins/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar:/home/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/home/jenkins/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.8.8/jackson-core-asl-1.8.8.jar:/home/jenkins/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.8.8/jackson-mapper-asl-1.8.8.jar:/home/jenkins/.m2/repository/org/apache/avro/avro/1.7.4/avro-1.7.4.jar:/home/jenkins/.m2/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/home/jenkins/.m2/repository/org/xerial/snappy/snappy-java/
 1.0.4.1/snappy-java-1.0.4.1.jar:/home/jenkins/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar

Re: question about when do resource matching in YARN

2013-09-20 Thread Omkar Joshi
Hi Wei,

Yes there is a clear lag between AM requesting resource and satisfying NM
heartbeats (thereby we process the event) are received. Developers in
project Tez ( http://incubator.apache.org/projects/tez.html ) have done
some similar stuff. You can check it there. I hope it helps.

Thanks,
Omkar Joshi
*Hortonworks Inc.* http://www.hortonworks.com


On Fri, Sep 20, 2013 at 8:56 AM, Xuan Gong xg...@hortonworks.com wrote:

 Hey, Wei:
   The nodeHeartBeat is used to let RM knows this NM is still alive. We
 only assign containers from alive NM. Another thing is when scheduler
 receives the nodeHeartBeat, the scheduler will get the container status
 (such as completed, new launched) from NM, and it can use it to update the
 resource.

You can take a look those source codes, it can help you understand
 better.
 1. NodeStatusUpdaterImpl::startStatusUpdater(). it used to send out the
 nodeheartbeat
 2. ResourceTrackerService::nodeHeartbeat(). This one is used to get
 heartbeat from NM, and send to RMNodeImpl
 3. RMNodeImpl::StatusUpdateWhenHealthyTransition().  Get the heartBeat, and
 do locally update.
 4. CapacityScheduler::nodeUpdate(). Processing the heartbeat info, and
 potentially assign containers.

 Thanks

 Xuan


 On Fri, Sep 20, 2013 at 7:17 AM, wei yan @ Gmail ywsk...@gmail.com
 wrote:

  Hi, all,
 
  I have a simple question. Currently in YARN, the resource matching is
  triggered by the node manager heartbeat. That is, assignContainers() is
  only invoked when a new heartbeat comes in. Why we don't use resource
  request triggered mechanism? That is, when AM submits allocateRequest, we
  do the resource matching and assign containers.
 
  Does anybody have any idea about this?
 
  thanks,
  Wei

 --
 CONFIDENTIALITY NOTICE
 NOTICE: This message is intended for the use of the individual or entity to
 which it is addressed and may contain information that is confidential,
 privileged and exempt from disclosure under applicable law. If the reader
 of this message is not the intended recipient, you are hereby notified that
 any printing, copying, dissemination, distribution, disclosure or
 forwarding of this communication is strictly prohibited. If you have
 received this communication in error, please contact the sender immediately
 and delete it from your system. Thank You.


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.


Re: git line endings trouble since recent trunk

2013-06-28 Thread Omkar Joshi
Sandy... did you fix this? any jira to track? me too facing same problem..

Thanks,
Omkar Joshi
*Hortonworks Inc.* http://www.hortonworks.com


On Fri, Jun 28, 2013 at 11:54 AM, Zhijie Shen zs...@hortonworks.com wrote:

 Have the same problem here, have to edit the patch manually to exclude the
 changes in releasenotes.html


 On Fri, Jun 28, 2013 at 11:01 AM, Sandy Ryza sandy.r...@cloudera.com
 wrote:

  Has anybody else been having trouble with line endings since pulling
 trunk
  recently?
 
  hadoop-common-project/hadoop-common/src/main/docs/releasenotes.html
  shows up as modified even though I haven't touched it, and I can't check
 it
  out or reset to a previous version to make that go away.  The only thing
 I
  can do to neutralize it is to put it in a dummy commit, but I have to do
  this every time I switch branches or rebase.
 
  This appears to have began after the release notes commit
   (8c5676830bb176157b2dc28c48cd3dd0a9712741), and must be due to a line
  endings change.
 
  -Sandy
 



 --
 Zhijie Shen
 Hortonworks Inc.
 http://hortonworks.com/