Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing GIT on EMR

1) I have been told that git comes stock installed on EMR. Is this true ? I believe not, as I can confirm that "git" is not found in my elastic-mapreduce ssh terminal. See: https://raw.github.com/gist/3177009/6128554a2668367b72758be74885836e41898923/gistfile1.txt .

2) I need to install git on EMR, but the following line :

hadoop@ip-10-235-11-52:/mnt$ sudo apt-get install git --assume-yes

Results in :

hadoop@ip-10-235-11-52:/mnt$ sudo apt-get install git --assume-yes Reading package lists... Done Building dependency tree
Reading state information... Done git is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Unfortunately, however, git does not run on this EMR instance, even after issueing this command :

hadoop@ip-10-235-11-52:/mnt$ git -bash: git: command not found hadoop@ip-10-235-11-52:/mnt$ sudo git sudo: git: command not found

like image 530
jayunit100 Avatar asked Jul 25 '12 15:07

jayunit100


1 Answers

Following up on @jayunit100 answer's:

yum install git-core will work for AWS-EMR.

like image 115
Eduardo Barbaro Avatar answered Oct 10 '22 00:10

Eduardo Barbaro