You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Tianyi Wang (Code Review)" <ge...@cloudera.org> on 2017/12/14 19:00:16 UTC

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

Tianyi Wang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/8846


Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................

IMPALA-3887: Wait for HDFS replication in data loading

When the data loading finishes, it is possible for some HDFS blocks to
be under replicated. If impala gets the metadata before the replication
is done, some tests may fail. This patch adds a replication waiting step
in the data loading script.

Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
---
M testdata/bin/create-load-data.sh
1 file changed, 13 insertions(+), 0 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 1
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

Posted by "Tianyi Wang (Code Review)" <ge...@cloudera.org>.
Tianyi Wang has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/8846 )

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................

IMPALA-3887: Wait for HDFS replication in data loading

When the data loading finishes, it is possible for some HDFS blocks to
be under replicated. If impala gets the metadata before the replication
is done, some tests may fail. This patch adds a replication waiting step
in the data loading script.

Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
---
M testdata/bin/create-load-data.sh
1 file changed, 19 insertions(+), 0 deletions(-)


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 3
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

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

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................


Patch Set 3: Verified+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 3
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>
Gerrit-Comment-Date: Sat, 16 Dec 2017 04:53:55 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

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

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/8846/1/testdata/bin/create-load-data.sh
File testdata/bin/create-load-data.sh:

http://gerrit.cloudera.org:8080/#/c/8846/1/testdata/bin/create-load-data.sh@453
PS1, Line 453:   while : ; do
I think we need a number of tries or a timeout here. If HDFS is stuck forever, the build would just stall.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 1
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Dec 2017 19:14:03 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

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/8846 )

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................

IMPALA-3887: Wait for HDFS replication in data loading

When the data loading finishes, it is possible for some HDFS blocks to
be under replicated. If impala gets the metadata before the replication
is done, some tests may fail. This patch adds a replication waiting step
in the data loading script.

Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Reviewed-on: http://gerrit.cloudera.org:8080/8846
Reviewed-by: Alex Behm <al...@cloudera.com>
Tested-by: Impala Public Jenkins
---
M testdata/bin/create-load-data.sh
1 file changed, 19 insertions(+), 0 deletions(-)

Approvals:
  Alex Behm: Looks good to me, approved
  Impala Public Jenkins: Verified

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 4
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

Posted by "Tianyi Wang (Code Review)" <ge...@cloudera.org>.
Tianyi Wang has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/8846 )

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................

IMPALA-3887: Wait for HDFS replication in data loading

When the data loading finishes, it is possible for some HDFS blocks to
be under replicated. If impala gets the metadata before the replication
is done, some tests may fail. This patch adds a replication waiting step
in the data loading script.

Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
---
M testdata/bin/create-load-data.sh
1 file changed, 17 insertions(+), 0 deletions(-)


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 2
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

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

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/8846/2/testdata/bin/create-load-data.sh
File testdata/bin/create-load-data.sh:

http://gerrit.cloudera.org:8080/#/c/8846/2/testdata/bin/create-load-data.sh@458
PS2, Line 458:         return
indent 2


http://gerrit.cloudera.org:8080/#/c/8846/2/testdata/bin/create-load-data.sh@463
PS2, Line 463:   echo "Some HDFS blocks are still under replicated after 30s. Failing the data loading."
Please mention IMPALA-3887 in the msg to explain why we abort the job.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 2
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 Dec 2017 17:42:49 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

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

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................


Patch Set 2: Code-Review+1

LGTM.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 2
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 Dec 2017 17:27:50 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

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

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................


Patch Set 3:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/1633/


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 3
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>
Gerrit-Comment-Date: Sat, 16 Dec 2017 01:14:03 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-3887: Wait for HDFS replication in data loading

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

Change subject: IMPALA-3887: Wait for HDFS replication in data loading
......................................................................


Patch Set 3: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I88dfb7165b7515b3e96111436be490f2068ec322
Gerrit-Change-Number: 8846
Gerrit-PatchSet: 3
Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Philip Zeyliger <ph...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>
Gerrit-Comment-Date: Sat, 16 Dec 2017 01:08:39 +0000
Gerrit-HasComments: No