[jira] [Commented] (HBASE-18197) Avoided to call job.waitForCompletion(true) two times

2017-08-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16124129#comment-16124129
 ] 

Hudson commented on HBASE-18197:


SUCCESS: Integrated in Jenkins build HBase-1.3-JDK8 #243 (See 
[https://builds.apache.org/job/HBase-1.3-JDK8/243/])
HBASE-18197 Avoided to call job.waitForCompletion(true) two times (chia7712: 
rev 18726b370e0f9c178ae2b7a82803f3c53b6fd2eb)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java


> Avoided to call job.waitForCompletion(true) two times
> -
>
> Key: HBASE-18197
> URL: https://issues.apache.org/jira/browse/HBASE-18197
> Project: HBase
>  Issue Type: Bug
>  Components: hbase
>Affects Versions: 1.0.2, 1.2.0, 1.4.0
>Reporter: Chandra Sekhar
>Assignee: Jan Hentschel
>Priority: Trivial
> Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
> Attachments: HBASE-18197.branch-1.0.001.patch, 
> HBASE-18197.branch-1.0.001.patch, HBASE-18197.branch-1.2.001.patch, 
> HBASE-18197.branch-1.2.001.patch, HBASE-18197.branch-1.2.002.patch
>
>
> import.java, job output is printing two times.
> {quote}
> after job completed, job.waitForCompletion(true) is calling two times.
> {quote}
> {code}
> Job job = createSubmittableJob(conf, otherArgs);
> boolean isJobSuccessful = job.waitForCompletion(true);
> if(isJobSuccessful){
>   // Flush all the regions of the table
>   flushRegionsIfNecessary(conf);
> }
> long inputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_INPUT_RECORDS).getValue();
> long outputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_OUTPUT_RECORDS).getValue();
> if (outputRecords < inputRecords) {
>   System.err.println("Warning, not all records were imported (maybe 
> filtered out).");
>   if (outputRecords == 0) {
> System.err.println("If the data was exported from HBase 0.94 "+
> "consider using -Dhbase.import.version=0.94.");
>   }
> }
> System.exit(job.waitForCompletion(true) ? 0 : 1);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-18197) Avoided to call job.waitForCompletion(true) two times

2017-08-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16124105#comment-16124105
 ] 

Hudson commented on HBASE-18197:


SUCCESS: Integrated in Jenkins build HBase-1.2-JDK8 #187 (See 
[https://builds.apache.org/job/HBase-1.2-JDK8/187/])
HBASE-18197 Avoided to call job.waitForCompletion(true) two times (chia7712: 
rev b9a57f45578f0d21aab04d95c241d7c7e80e2552)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java


> Avoided to call job.waitForCompletion(true) two times
> -
>
> Key: HBASE-18197
> URL: https://issues.apache.org/jira/browse/HBASE-18197
> Project: HBase
>  Issue Type: Bug
>  Components: hbase
>Affects Versions: 1.0.2, 1.2.0, 1.4.0
>Reporter: Chandra Sekhar
>Assignee: Jan Hentschel
>Priority: Trivial
> Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
> Attachments: HBASE-18197.branch-1.0.001.patch, 
> HBASE-18197.branch-1.0.001.patch, HBASE-18197.branch-1.2.001.patch, 
> HBASE-18197.branch-1.2.001.patch, HBASE-18197.branch-1.2.002.patch
>
>
> import.java, job output is printing two times.
> {quote}
> after job completed, job.waitForCompletion(true) is calling two times.
> {quote}
> {code}
> Job job = createSubmittableJob(conf, otherArgs);
> boolean isJobSuccessful = job.waitForCompletion(true);
> if(isJobSuccessful){
>   // Flush all the regions of the table
>   flushRegionsIfNecessary(conf);
> }
> long inputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_INPUT_RECORDS).getValue();
> long outputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_OUTPUT_RECORDS).getValue();
> if (outputRecords < inputRecords) {
>   System.err.println("Warning, not all records were imported (maybe 
> filtered out).");
>   if (outputRecords == 0) {
> System.err.println("If the data was exported from HBase 0.94 "+
> "consider using -Dhbase.import.version=0.94.");
>   }
> }
> System.exit(job.waitForCompletion(true) ? 0 : 1);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-18197) Avoided to call job.waitForCompletion(true) two times

2017-08-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16124029#comment-16124029
 ] 

Hudson commented on HBASE-18197:


FAILURE: Integrated in Jenkins build HBase-1.4 #849 (See 
[https://builds.apache.org/job/HBase-1.4/849/])
HBASE-18197 Avoided to call job.waitForCompletion(true) two times (chia7712: 
rev b181f172ef92ff1fb3bf2a2907c7c143bcd5ac75)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java


> Avoided to call job.waitForCompletion(true) two times
> -
>
> Key: HBASE-18197
> URL: https://issues.apache.org/jira/browse/HBASE-18197
> Project: HBase
>  Issue Type: Bug
>  Components: hbase
>Affects Versions: 1.0.2, 1.2.0, 1.4.0
>Reporter: Chandra Sekhar
>Assignee: Jan Hentschel
>Priority: Trivial
> Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
> Attachments: HBASE-18197.branch-1.0.001.patch, 
> HBASE-18197.branch-1.0.001.patch, HBASE-18197.branch-1.2.001.patch, 
> HBASE-18197.branch-1.2.001.patch, HBASE-18197.branch-1.2.002.patch
>
>
> import.java, job output is printing two times.
> {quote}
> after job completed, job.waitForCompletion(true) is calling two times.
> {quote}
> {code}
> Job job = createSubmittableJob(conf, otherArgs);
> boolean isJobSuccessful = job.waitForCompletion(true);
> if(isJobSuccessful){
>   // Flush all the regions of the table
>   flushRegionsIfNecessary(conf);
> }
> long inputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_INPUT_RECORDS).getValue();
> long outputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_OUTPUT_RECORDS).getValue();
> if (outputRecords < inputRecords) {
>   System.err.println("Warning, not all records were imported (maybe 
> filtered out).");
>   if (outputRecords == 0) {
> System.err.println("If the data was exported from HBase 0.94 "+
> "consider using -Dhbase.import.version=0.94.");
>   }
> }
> System.exit(job.waitForCompletion(true) ? 0 : 1);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-18197) Avoided to call job.waitForCompletion(true) two times

2017-08-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16123903#comment-16123903
 ] 

Hudson commented on HBASE-18197:


SUCCESS: Integrated in Jenkins build HBase-1.2-IT #927 (See 
[https://builds.apache.org/job/HBase-1.2-IT/927/])
HBASE-18197 Avoided to call job.waitForCompletion(true) two times (chia7712: 
rev b9a57f45578f0d21aab04d95c241d7c7e80e2552)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java


> Avoided to call job.waitForCompletion(true) two times
> -
>
> Key: HBASE-18197
> URL: https://issues.apache.org/jira/browse/HBASE-18197
> Project: HBase
>  Issue Type: Bug
>  Components: hbase
>Affects Versions: 1.0.2, 1.2.0, 1.4.0
>Reporter: Chandra Sekhar
>Assignee: Jan Hentschel
>Priority: Trivial
> Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
> Attachments: HBASE-18197.branch-1.0.001.patch, 
> HBASE-18197.branch-1.0.001.patch, HBASE-18197.branch-1.2.001.patch, 
> HBASE-18197.branch-1.2.001.patch, HBASE-18197.branch-1.2.002.patch
>
>
> import.java, job output is printing two times.
> {quote}
> after job completed, job.waitForCompletion(true) is calling two times.
> {quote}
> {code}
> Job job = createSubmittableJob(conf, otherArgs);
> boolean isJobSuccessful = job.waitForCompletion(true);
> if(isJobSuccessful){
>   // Flush all the regions of the table
>   flushRegionsIfNecessary(conf);
> }
> long inputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_INPUT_RECORDS).getValue();
> long outputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_OUTPUT_RECORDS).getValue();
> if (outputRecords < inputRecords) {
>   System.err.println("Warning, not all records were imported (maybe 
> filtered out).");
>   if (outputRecords == 0) {
> System.err.println("If the data was exported from HBase 0.94 "+
> "consider using -Dhbase.import.version=0.94.");
>   }
> }
> System.exit(job.waitForCompletion(true) ? 0 : 1);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-18197) Avoided to call job.waitForCompletion(true) two times

2017-08-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16123884#comment-16123884
 ] 

Hudson commented on HBASE-18197:


SUCCESS: Integrated in Jenkins build HBase-1.3-IT #166 (See 
[https://builds.apache.org/job/HBase-1.3-IT/166/])
HBASE-18197 Avoided to call job.waitForCompletion(true) two times (chia7712: 
rev 18726b370e0f9c178ae2b7a82803f3c53b6fd2eb)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java


> Avoided to call job.waitForCompletion(true) two times
> -
>
> Key: HBASE-18197
> URL: https://issues.apache.org/jira/browse/HBASE-18197
> Project: HBase
>  Issue Type: Bug
>  Components: hbase
>Affects Versions: 1.0.2, 1.2.0, 1.4.0
>Reporter: Chandra Sekhar
>Assignee: Jan Hentschel
>Priority: Trivial
> Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
> Attachments: HBASE-18197.branch-1.0.001.patch, 
> HBASE-18197.branch-1.0.001.patch, HBASE-18197.branch-1.2.001.patch, 
> HBASE-18197.branch-1.2.001.patch, HBASE-18197.branch-1.2.002.patch
>
>
> import.java, job output is printing two times.
> {quote}
> after job completed, job.waitForCompletion(true) is calling two times.
> {quote}
> {code}
> Job job = createSubmittableJob(conf, otherArgs);
> boolean isJobSuccessful = job.waitForCompletion(true);
> if(isJobSuccessful){
>   // Flush all the regions of the table
>   flushRegionsIfNecessary(conf);
> }
> long inputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_INPUT_RECORDS).getValue();
> long outputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_OUTPUT_RECORDS).getValue();
> if (outputRecords < inputRecords) {
>   System.err.println("Warning, not all records were imported (maybe 
> filtered out).");
>   if (outputRecords == 0) {
> System.err.println("If the data was exported from HBase 0.94 "+
> "consider using -Dhbase.import.version=0.94.");
>   }
> }
> System.exit(job.waitForCompletion(true) ? 0 : 1);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-18197) Avoided to call job.waitForCompletion(true) two times

2017-08-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16123881#comment-16123881
 ] 

Hudson commented on HBASE-18197:


FAILURE: Integrated in Jenkins build HBase-1.3-JDK7 #230 (See 
[https://builds.apache.org/job/HBase-1.3-JDK7/230/])
HBASE-18197 Avoided to call job.waitForCompletion(true) two times (chia7712: 
rev 18726b370e0f9c178ae2b7a82803f3c53b6fd2eb)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java


> Avoided to call job.waitForCompletion(true) two times
> -
>
> Key: HBASE-18197
> URL: https://issues.apache.org/jira/browse/HBASE-18197
> Project: HBase
>  Issue Type: Bug
>  Components: hbase
>Affects Versions: 1.0.2, 1.2.0, 1.4.0
>Reporter: Chandra Sekhar
>Assignee: Jan Hentschel
>Priority: Trivial
> Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
> Attachments: HBASE-18197.branch-1.0.001.patch, 
> HBASE-18197.branch-1.0.001.patch, HBASE-18197.branch-1.2.001.patch, 
> HBASE-18197.branch-1.2.001.patch, HBASE-18197.branch-1.2.002.patch
>
>
> import.java, job output is printing two times.
> {quote}
> after job completed, job.waitForCompletion(true) is calling two times.
> {quote}
> {code}
> Job job = createSubmittableJob(conf, otherArgs);
> boolean isJobSuccessful = job.waitForCompletion(true);
> if(isJobSuccessful){
>   // Flush all the regions of the table
>   flushRegionsIfNecessary(conf);
> }
> long inputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_INPUT_RECORDS).getValue();
> long outputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_OUTPUT_RECORDS).getValue();
> if (outputRecords < inputRecords) {
>   System.err.println("Warning, not all records were imported (maybe 
> filtered out).");
>   if (outputRecords == 0) {
> System.err.println("If the data was exported from HBase 0.94 "+
> "consider using -Dhbase.import.version=0.94.");
>   }
> }
> System.exit(job.waitForCompletion(true) ? 0 : 1);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-18197) Avoided to call job.waitForCompletion(true) two times

2017-08-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16123880#comment-16123880
 ] 

Hudson commented on HBASE-18197:


FAILURE: Integrated in Jenkins build HBase-1.2-JDK7 #192 (See 
[https://builds.apache.org/job/HBase-1.2-JDK7/192/])
HBASE-18197 Avoided to call job.waitForCompletion(true) two times (chia7712: 
rev b9a57f45578f0d21aab04d95c241d7c7e80e2552)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java


> Avoided to call job.waitForCompletion(true) two times
> -
>
> Key: HBASE-18197
> URL: https://issues.apache.org/jira/browse/HBASE-18197
> Project: HBase
>  Issue Type: Bug
>  Components: hbase
>Affects Versions: 1.0.2, 1.2.0, 1.4.0
>Reporter: Chandra Sekhar
>Assignee: Jan Hentschel
>Priority: Trivial
> Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7
>
> Attachments: HBASE-18197.branch-1.0.001.patch, 
> HBASE-18197.branch-1.0.001.patch, HBASE-18197.branch-1.2.001.patch, 
> HBASE-18197.branch-1.2.001.patch, HBASE-18197.branch-1.2.002.patch
>
>
> import.java, job output is printing two times.
> {quote}
> after job completed, job.waitForCompletion(true) is calling two times.
> {quote}
> {code}
> Job job = createSubmittableJob(conf, otherArgs);
> boolean isJobSuccessful = job.waitForCompletion(true);
> if(isJobSuccessful){
>   // Flush all the regions of the table
>   flushRegionsIfNecessary(conf);
> }
> long inputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_INPUT_RECORDS).getValue();
> long outputRecords = 
> job.getCounters().findCounter(TaskCounter.MAP_OUTPUT_RECORDS).getValue();
> if (outputRecords < inputRecords) {
>   System.err.println("Warning, not all records were imported (maybe 
> filtered out).");
>   if (outputRecords == 0) {
> System.err.println("If the data was exported from HBase 0.94 "+
> "consider using -Dhbase.import.version=0.94.");
>   }
> }
> System.exit(job.waitForCompletion(true) ? 0 : 1);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)