Right. The file is not in source control any more. But it was there at some
moment. That's why it is in the git history. So we need to clean up the git
history.

To push to a branch other than master, for example, hive-11890, as a
work-around, you can try https://rtyley.github.io/bfg-repo-cleaner/ to do
the clean up first, then push.

On Fri, Nov 6, 2015 at 9:00 AM, Jimmy Xiang <jxi...@cloudera.com> wrote:

> I ran into the same problem too. What we need to do is to clean up the git
> history. However, the master branch can't be force-pushed. I was wondering
> if this is something the infra team can help.
>
> On Fri, Nov 6, 2015 at 8:54 AM, Xuefu Zhang <xzh...@cloudera.com> wrote:
>
>> I don't quite follow. That file is not in source control, but only
>> downloaded when running test. Why a git push will mass with that file?
>>
>>
>> On Fri, Nov 6, 2015 at 7:44 AM, Owen O'Malley <omal...@apache.org> wrote:
>>
>> > Github apparently has a limit on pushes to personal accounts that no
>> file
>> > may be larger than 100mb. When I try to push a branch to my personal
>> clone
>> > of hive, I get:
>> >
>> > rockfleet:hive owen$ git push omalley master:hive-11890
>> > > Counting objects: 21159, done.
>> > > Delta compression using up to 4 threads.
>> > > Compressing objects: 100% (6561/6561), done.
>> > > Writing objects: 100% (21159/21159), 110.16 MiB | 3.19 MiB/s, done.
>> > > Total 21159 (delta 11142), reused 18555 (delta 9014)
>> > > remote: error: GH001: Large files detected. You may want to try Git
>> Large
>> > > File Storage - https://git-lfs.github.com.
>> > > remote: error: Trace: 5cfe5408835563c7f661c3086c84930a
>> > > remote: error: See http://git.io/iEPt8g for more information.
>> > > remote: error: File
>> > > itests/thirdparty/spark-1.2.0-bin-hadoop2-without-hive.tgz is 103.62
>> MB;
>> > > this exceeds GitHub's file size limit of 100.00 MB
>> > > To g...@github.com:omalley/hive.git
>> > >  ! [remote rejected] master -> hive-11890 (pre-receive hook declined)
>> > > error: failed to push some refs to 'g...@github.com:omalley/hive.git'
>> >
>> >
>> > This makes it very difficult to work with. Can we do something else with
>> > the file? If not, can we store it with the git large file storage as
>> > suggested in the error message?
>> >
>> > .. Owen
>> >
>>
>
>

Reply via email to