Hi Vinod ,
I want to run WordCount example with branch-2 and what i need to do that is
hadoop-core-x.x.x-SNAPSHOT .
in branch-1 ,we have build.xml which i can generate hadoop-core jar file by
executing "ant jar" ,but here in branch-2 i don’t know how to generate
hadoop-core jar file. And also i ma
branch-1.2 has lib/conf/logs etc.
branch-2's directory structure and the content is similar to trunk, so you may
already be seeing correct code.
See pom.xml and look for the first occurrence of , you should see
3.0.0-SNAPSHOT for trunk and 2.0.5-SNAPSHOT for branch-2.
Thanks,
+Vinod
On Apr 2
Hi Vinod,
I did what you said but the thing is my working directory still contains
trunk branch !! what i see for example as branch-1.2 is different from
branch-2 . I switch to branch-1.2 like "git checkout
remotes/origin/branch-1.2" and it contains for example build ,bin ,conf,
lib, source ,logs
Right, you have to do "git checkout -b branch-2 origin/branch-2". You get the
trunk branch by default, for all other remote branches, you have to create
local branches like that.
HTH
Thanks,
+Vinod Kumar Vavilapalli
Hortonworks Inc.
http://hortonworks.com/
On Apr 28, 2013, at 12:42 PM, Saman
Hi Vinod,
i tried with the path you sent but no success .I mean is it not really
switched to branch-2 ,and calling the "git branch -a" displays "no branch"
.Working directory still contains trunk not branch-2 contents. what i get
in console is :
You are in 'detached HEAD' state. You can look ar
Not sure about how updated the repo at github is, I use
git://git.apache.org/hadoop-common.git
Also what do you mean by branch switch is not working?
Thanks,
+Vinod
On Apr 28, 2013, at 11:45 AM, Samaneh Shokuhi wrote:
> Hi All,
> i ve got a clone of hadoop and tried to switch to branch-2 but
Hi All,
i ve got a clone of hadoop and tried to switch to branch-2 but ,it is not
working ,while switching to other branches like branch-1.2 is possible. Any
idea why cant switch to branch-2 ?
That’s what i ve done :
$ git clone git://github.com/apache/hadoop-common.git hadoop-1
$ cd hadoop-1
$ g