You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Ashish Thusoo <at...@facebook.com> on 2008/11/26 20:11:56 UTC

Setting up git clone for Hive

Hi,

Hive recently became a subproject of Hadoop. I found that a bunch of subprojects of Hadoop have git clones at

http://jukka.zitting.name/git/

Is it possible to set this up for hive as well. The svn repo is

http://svn.apache.org/repos/asf/hadoop/hive

Thanks,
Ashish

RE: Setting up git clone for Hive

Posted by Ashish Thusoo <at...@facebook.com>.
That seemed to work.

Thanks,
Ashish 

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Sent: Wednesday, November 26, 2008 2:51 PM
To: hive-dev@hadoop.apache.org; Ashish Thusoo
Subject: Re: Setting up git clone for Hive

Hi,

On Wed, Nov 26, 2008 at 11:40 PM, Ashish Thusoo <at...@facebook.com> wrote:
> Actually the following is a better run.. but I still get the warning...
>
> $ git clone http://jukka.zitting.name/git/r/hive.git ./hive_git 
> Initialized empty Git repository in 
> /data/users/athusoo/apacheprojects/hive_git/.git/
> warning: remote HEAD refers to nonexistent ref, unable to checkout.

Hmm, the mirror was missing a "git update-server-info" call. That's normally a part of the standard setup in my mirrors, but something must have gone wrong when I created the Hive mirror.

Anyway, I fixed the mirror and now everything looks good.

BR,

Jukka Zitting

Re: Setting up git clone for Hive

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Nov 26, 2008 at 11:40 PM, Ashish Thusoo <at...@facebook.com> wrote:
> Actually the following is a better run.. but I still get the warning...
>
> $ git clone http://jukka.zitting.name/git/r/hive.git ./hive_git
> Initialized empty Git repository in /data/users/athusoo/apacheprojects/hive_git/.git/
> warning: remote HEAD refers to nonexistent ref, unable to checkout.

Hmm, the mirror was missing a "git update-server-info" call. That's
normally a part of the standard setup in my mirrors, but something
must have gone wrong when I created the Hive mirror.

Anyway, I fixed the mirror and now everything looks good.

BR,

Jukka Zitting

RE: Setting up git clone for Hive

Posted by Ashish Thusoo <at...@facebook.com>.
Actually the following is a better run.. but I still get the warning...

$ git clone http://jukka.zitting.name/git/r/hive.git ./hive_git 
Initialized empty Git repository in /data/users/athusoo/apacheprojects/hive_git/.git/
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Ashish 

-----Original Message-----
From: Ashish Thusoo [mailto:athusoo@facebook.com] 
Sent: Wednesday, November 26, 2008 2:37 PM
To: jukka.zitting@gmail.com
Cc: hive-dev@hadoop.apache.org
Subject: RE: Setting up git clone for Hive

Hi Jukka,

I get the following error when I try to clone from this mirror. Is there something wrong that I am doing?

$ git-clone http://jukka.zitting.name/git/r/hive.git hive_git Initialized empty Git repository in /data/users/athusoo/apacheprojects/hive_git/.git/
cat: /data/users/athusoo/apacheprojects/hive_git/.git/refs/remotes/origin/master: No such file or directory
/usr/local/bin/git-clone: line 478: cd: /data/users/athusoo/apacheprojects/hive_git/.git/refs/remotes/origin: No such file or directory
Warning: Remote HEAD refers to nonexistent ref, unable to checkout.

Thanks,
Ashish

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com]
Sent: Wednesday, November 26, 2008 1:49 PM
To: infrastructure-dev@apache.org
Cc: hive-dev@hadoop.apache.org
Subject: Re: Setting up git clone for Hive

Hi,

On Wed, Nov 26, 2008 at 8:11 PM, Ashish Thusoo <at...@facebook.com> wrote:
> Is it possible to set this up for hive as well.

Sure! The git mirror for Hive is now ready.

BR,

Jukka Zitting

RE: Setting up git clone for Hive

Posted by Ashish Thusoo <at...@facebook.com>.
Hi Jukka,

I get the following error when I try to clone from this mirror. Is there something wrong that I am doing?

$ git-clone http://jukka.zitting.name/git/r/hive.git hive_git
Initialized empty Git repository in /data/users/athusoo/apacheprojects/hive_git/.git/
cat: /data/users/athusoo/apacheprojects/hive_git/.git/refs/remotes/origin/master: No such file or directory
/usr/local/bin/git-clone: line 478: cd: /data/users/athusoo/apacheprojects/hive_git/.git/refs/remotes/origin: No such file or directory
Warning: Remote HEAD refers to nonexistent ref, unable to checkout.

Thanks,
Ashish

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Sent: Wednesday, November 26, 2008 1:49 PM
To: infrastructure-dev@apache.org
Cc: hive-dev@hadoop.apache.org
Subject: Re: Setting up git clone for Hive

Hi,

On Wed, Nov 26, 2008 at 8:11 PM, Ashish Thusoo <at...@facebook.com> wrote:
> Is it possible to set this up for hive as well.

Sure! The git mirror for Hive is now ready.

BR,

Jukka Zitting

Re: Setting up git clone for Hive

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Nov 26, 2008 at 8:11 PM, Ashish Thusoo <at...@facebook.com> wrote:
> Is it possible to set this up for hive as well.

Sure! The git mirror for Hive is now ready.

BR,

Jukka Zitting

Re: Setting up git clone for Hive

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Nov 26, 2008 at 8:11 PM, Ashish Thusoo <at...@facebook.com> wrote:
> Is it possible to set this up for hive as well.

Sure! The git mirror for Hive is now ready.

BR,

Jukka Zitting