> On Feb. 11, 2014, 5:42 p.m., Xuefu Zhang wrote:
> > metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java, 
> > line 879
> > <https://reviews.apache.org/r/17930/diff/1/?file=482265#file482265line879>
> >
> >     It seems interesting to know what's the impact of throwing an exception 
> > here on the caller, because previously the exception is not thrown. The 
> > caller seems further throwin g the exception.

This will propagate up to the HS2, and then the client like:

hive> drop table test;
FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Metadata deletion 
successful but failure in data deletion, check logs for more information.)


- Szehon


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


On Feb. 11, 2014, 7:03 p.m., Szehon Ho wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17930/
> -----------------------------------------------------------
> 
> (Updated Feb. 11, 2014, 7:03 p.m.)
> 
> 
> Review request for hive.
> 
> 
> Bugs: HIVE-6402
>     https://issues.apache.org/jira/browse/HIVE-6402
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> It is probably not desirable to forcibly delete the data if the trash is 
> misconfigured.  So this change at least informs the user by throwing an 
> exception, indicating that the data deletion failed.
> 
> 
> Diffs
> -----
> 
>   metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 
> 4905be0 
> 
> Diff: https://reviews.apache.org/r/17930/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Szehon Ho
> 
>

Reply via email to