You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Sergey Shelukhin <se...@hortonworks.com> on 2014/01/23 01:49:31 UTC

Review Request 17217: HIVE-???? MSCK can be slow when adding partitions

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17217/
-----------------------------------------------------------

Review request for hive, Ashutosh Chauhan and Gunther Hagleitner.


Repository: hive-git


Description
-------

JIRA is reindexing so I will file the JIRA later.

Trivial patch. Use bulk method.
If bulk method fails try one by one (via existing code), it's msck after all so we expect the worst.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 92ed55b 

Diff: https://reviews.apache.org/r/17217/diff/


Testing
-------


Thanks,

Sergey Shelukhin


Re: Review Request 17217: HIVE-6288 MSCK can be slow when adding partitions

Posted by Mohammad Islam <mi...@yahoo.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17217/#review32655
-----------------------------------------------------------


Much cleaner.


ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
<https://reviews.apache.org/r/17217/#comment61558>

    Do we need to cleanup anything for 'db' as well that might have partially changed in line '1841' before the exception?
    


- Mohammad Islam


On Jan. 23, 2014, 6:58 p.m., Sergey Shelukhin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17217/
> -----------------------------------------------------------
> 
> (Updated Jan. 23, 2014, 6:58 p.m.)
> 
> 
> Review request for hive, Ashutosh Chauhan and Gunther Hagleitner.
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> JIRA is reindexing so I will file the JIRA later.
> 
> Trivial patch. Use bulk method.
> If bulk method fails try one by one (via existing code), it's msck after all so we expect the worst.
> 
> 
> Diffs
> -----
> 
>   ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 92ed55b 
> 
> Diff: https://reviews.apache.org/r/17217/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Sergey Shelukhin
> 
>


Re: Review Request 17217: HIVE-6288 MSCK can be slow when adding partitions

Posted by Sergey Shelukhin <se...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17217/
-----------------------------------------------------------

(Updated Jan. 23, 2014, 6:58 p.m.)


Review request for hive, Ashutosh Chauhan and Gunther Hagleitner.


Repository: hive-git


Description
-------

JIRA is reindexing so I will file the JIRA later.

Trivial patch. Use bulk method.
If bulk method fails try one by one (via existing code), it's msck after all so we expect the worst.


Diffs (updated)
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 92ed55b 

Diff: https://reviews.apache.org/r/17217/diff/


Testing
-------


Thanks,

Sergey Shelukhin


Re: Review Request 17217: HIVE-6288 MSCK can be slow when adding partitions

Posted by Sergey Shelukhin <se...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17217/
-----------------------------------------------------------

(Updated Jan. 23, 2014, 6:55 p.m.)


Review request for hive, Ashutosh Chauhan and Gunther Hagleitner.


Summary (updated)
-----------------

HIVE-6288 MSCK can be slow when adding partitions


Repository: hive-git


Description
-------

JIRA is reindexing so I will file the JIRA later.

Trivial patch. Use bulk method.
If bulk method fails try one by one (via existing code), it's msck after all so we expect the worst.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 92ed55b 

Diff: https://reviews.apache.org/r/17217/diff/


Testing
-------


Thanks,

Sergey Shelukhin


Re: Review Request 17217: HIVE-???? MSCK can be slow when adding partitions

Posted by Mohammad Islam <mi...@yahoo.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17217/#review32592
-----------------------------------------------------------



ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
<https://reviews.apache.org/r/17217/#comment61495>

    Should we clear repairOutput list before the loop? The reason: there is a very small possibility that 'repairOutput' is partially populated in the caller method before the exception thrown.
     



ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
<https://reviews.apache.org/r/17217/#comment61496>

    Is it the same 'db' object that might be populated in the caller method?


- Mohammad Islam


On Jan. 23, 2014, 12:49 a.m., Sergey Shelukhin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17217/
> -----------------------------------------------------------
> 
> (Updated Jan. 23, 2014, 12:49 a.m.)
> 
> 
> Review request for hive, Ashutosh Chauhan and Gunther Hagleitner.
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> JIRA is reindexing so I will file the JIRA later.
> 
> Trivial patch. Use bulk method.
> If bulk method fails try one by one (via existing code), it's msck after all so we expect the worst.
> 
> 
> Diffs
> -----
> 
>   ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 92ed55b 
> 
> Diff: https://reviews.apache.org/r/17217/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Sergey Shelukhin
> 
>