[jira] [Commented] (HIVE-2980) Show a warning or an error when the data directory is empty or not existing

2012-04-24 Thread alex gemini (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13261263#comment-13261263
 ] 

alex gemini commented on HIVE-2980:
---

I think this maybe relevant to the table or partition status,when create a new 
table or partition ,the table will store NEW status in metastore,if is delete 
or drop,status will change to 'DROPED',if table is create using load DML 
,status will be 'LOADED',when using desc command,it will print the table or 
partition status to help user understand the last status of this table.

 Show a warning or an error when the data directory is empty or not existing 
 

 Key: HIVE-2980
 URL: https://issues.apache.org/jira/browse/HIVE-2980
 Project: Hive
  Issue Type: Improvement
  Components: Diagnosability, Metastore
Reporter: Nitin Pawar

 It looks like a good idea to show a warning or an error when the data 
 directory is missing or empty.
 This will help in cut down the debugging time as well a good information to 
 have on the deleted data 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-2980) Show a warning or an error when the data directory is empty or not existing

2012-04-24 Thread alex gemini (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13261266#comment-13261266
 ] 

alex gemini commented on HIVE-2980:
---

and maybe this will help stats gather,if table or partition status is NEW or 
DROPED, we know that there is 0 row in this table or partition, if table or 
partition status is LOADED or INSERT ,we can continue to gather table stats.

 Show a warning or an error when the data directory is empty or not existing 
 

 Key: HIVE-2980
 URL: https://issues.apache.org/jira/browse/HIVE-2980
 Project: Hive
  Issue Type: Improvement
  Components: Diagnosability, Metastore
Reporter: Nitin Pawar

 It looks like a good idea to show a warning or an error when the data 
 directory is missing or empty.
 This will help in cut down the debugging time as well a good information to 
 have on the deleted data 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira