You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Joe McDonnell (Code Review)" <ge...@cloudera.org> on 2020/05/08 02:54:59 UTC

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/15886


Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................

Only build ext-py directories tracked by git for make_shell_tarball.sh

When versions change in shell/ext-py/*, there can be leftover
directories when developers rebase. These leftover directories
are usually empty and unbuildable, so make_shell_tarball.sh will
fail with an error message like:
Creating an egg for .../Impala/shell/ext-py/bitarray-0.9.0
Traceback (most recent call last):
  File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory: 'setup.py'
...

This changes the build logic to only build directories that are
tracked in git. When a version of an ext-py package changes, the
directory for the old version may stick around, but it is gone from
the git repository and won't be built. The downside is that when
a developer is adding a new package version, it won't be built until
it is added in git.

Testing:
 - Added an empty directory in shell/ext-py that was not tracked
   in git. Verified it is not built (and would fail before).

Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
---
M shell/make_shell_tarball.sh
1 file changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/15886/1
-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 1:

Isn't this going to cause problems for people trying to build Impala from a source tarball?

Maybe this could be tweaked so that we only skip if we detect that we're in a git checkout?


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Sat, 09 May 2020 18:41:19 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 3:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/6075/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 3
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 May 2020 03:01:57 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/6006/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Fri, 08 May 2020 03:12:49 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................

Only build ext-py directories tracked by git for make_shell_tarball.sh

When versions change in shell/ext-py/*, there can be leftover
directories when developers rebase. These leftover directories
are usually empty and unbuildable, so make_shell_tarball.sh will
fail with an error message like:
Creating an egg for .../Impala/shell/ext-py/bitarray-0.9.0
Traceback (most recent call last):
  File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory: 'setup.py'
...

This changes the build logic to only build directories that are
tracked in git. When a version of an ext-py package changes, the
directory for the old version may stick around, but it is gone from
the git repository and won't be built. The downside is that when
a developer is adding a new package version, it won't be built until
it is added in git. This logic is disabled if IMPALA_HOME is not a
git repository, which can happen when building from release tarballs.

Testing:
 - Added an empty directory in shell/ext-py that was not tracked
   in git. Verified it is not built (and would fail before).
 - Tested the command detecting IMPALA_HOME as a git repository on
   a non-repository directory.

Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Reviewed-on: http://gerrit.cloudera.org:8080/15886
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M shell/make_shell_tarball.sh
1 file changed, 22 insertions(+), 0 deletions(-)

Approvals:
  Joe McDonnell: Looks good to me, approved
  Impala Public Jenkins: Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 4: Code-Review+2

Carry +2


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 4
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 01 Jun 2020 15:55:58 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/15886/2/shell/make_shell_tarball.sh
File shell/make_shell_tarball.sh:

http://gerrit.cloudera.org:8080/#/c/15886/2/shell/make_shell_tarball.sh@112
PS2, Line 112:   if ${IS_GIT_CHECKOUT} && ! git ls-files --error-unmatch ${MODULE} > /dev/null 2>&1 ; then
line too long (91 > 90)



-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 May 2020 02:06:05 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 3: Code-Review+2

Thanks for fixing this, this removes a major headache!


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 3
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 May 2020 03:35:30 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Hello Tim Armstrong, Wenzhe Zhou, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/15886

to look at the new patch set (#2).

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................

Only build ext-py directories tracked by git for make_shell_tarball.sh

When versions change in shell/ext-py/*, there can be leftover
directories when developers rebase. These leftover directories
are usually empty and unbuildable, so make_shell_tarball.sh will
fail with an error message like:
Creating an egg for .../Impala/shell/ext-py/bitarray-0.9.0
Traceback (most recent call last):
  File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory: 'setup.py'
...

This changes the build logic to only build directories that are
tracked in git. When a version of an ext-py package changes, the
directory for the old version may stick around, but it is gone from
the git repository and won't be built. The downside is that when
a developer is adding a new package version, it won't be built until
it is added in git. This logic is disabled if IMPALA_HOME is not a
git repository, which can happen when building from release tarballs.

Testing:
 - Added an empty directory in shell/ext-py that was not tracked
   in git. Verified it is not built (and would fail before).
 - Tested the command detecting IMPALA_HOME as a git repository on
   a non-repository directory.

Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
---
M shell/make_shell_tarball.sh
1 file changed, 21 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/15886/2
-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Hello Tim Armstrong, Wenzhe Zhou, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/15886

to look at the new patch set (#3).

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................

Only build ext-py directories tracked by git for make_shell_tarball.sh

When versions change in shell/ext-py/*, there can be leftover
directories when developers rebase. These leftover directories
are usually empty and unbuildable, so make_shell_tarball.sh will
fail with an error message like:
Creating an egg for .../Impala/shell/ext-py/bitarray-0.9.0
Traceback (most recent call last):
  File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory: 'setup.py'
...

This changes the build logic to only build directories that are
tracked in git. When a version of an ext-py package changes, the
directory for the old version may stick around, but it is gone from
the git repository and won't be built. The downside is that when
a developer is adding a new package version, it won't be built until
it is added in git. This logic is disabled if IMPALA_HOME is not a
git repository, which can happen when building from release tarballs.

Testing:
 - Added an empty directory in shell/ext-py that was not tracked
   in git. Verified it is not built (and would fail before).
 - Tested the command detecting IMPALA_HOME as a git repository on
   a non-repository directory.

Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
---
M shell/make_shell_tarball.sh
1 file changed, 22 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/15886/3
-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 3
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/15886/2/shell/make_shell_tarball.sh
File shell/make_shell_tarball.sh:

http://gerrit.cloudera.org:8080/#/c/15886/2/shell/make_shell_tarball.sh@112
PS2, Line 112:   if ${IS_GIT_CHECKOUT} && ! git ls-files --error-unmatch ${MODULE} > /dev/null 2>&1 ; then
> line too long (91 > 90)
Done



-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 May 2020 02:08:57 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 4: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 4
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 01 Jun 2020 20:45:56 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 2:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/6073/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 May 2020 02:55:47 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 4:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/5922/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 4
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Mon, 01 Jun 2020 15:56:30 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 1:

> Isn't this going to cause problems for people trying to build
 > Impala from a source tarball?
 > 
 > Maybe this could be tweaked so that we only skip if we detect that
 > we're in a git checkout?

Good point, I changed this to detect whether IMPALA_HOME is a git repository and avoid this check if it is not.


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 May 2020 02:04:26 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Only build ext-py directories tracked by git for make shell tarball.sh

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/15886 )

Change subject: Only build ext-py directories tracked by git for make_shell_tarball.sh
......................................................................


Patch Set 1: Code-Review+1

verified in local build


-- 
To view, visit http://gerrit.cloudera.org:8080/15886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibb70ef2d5048d5cfeb260ce62c34f04835c7132d
Gerrit-Change-Number: 15886
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Sat, 09 May 2020 17:14:58 +0000
Gerrit-HasComments: No