[
https://issues.apache.org/jira/browse/HBASE-8361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13634304#comment-13634304
]
Andrew Purtell commented on HBASE-8361:
---------------------------------------
bq. I think this is an anti-feature. Neither tool provide a mechanism for the
user to configure the creation parameters of that table, resulting in a new
table with the default settings.
Makes sense, but we already have tools with this behavior in release. Perhaps
we can add command line switches for creation parameters? Or a switch that says
'don't create'?
> Bulk load and other utilities should not create tables for user
> ---------------------------------------------------------------
>
> Key: HBASE-8361
> URL: https://issues.apache.org/jira/browse/HBASE-8361
> Project: HBase
> Issue Type: Improvement
> Components: mapreduce
> Reporter: Nick Dimiduk
>
> {{LoadIncrementalHFiles}} and {{ImportTsv}} will create a table with the
> default setting when the target table does not exist. I think this is an
> anti-feature. Neither tool provide a mechanism for the user to configure the
> creation parameters of that table, resulting in a new table with the default
> settings. I think it is unlikely that the default settings are what the user
> actually wants. In the event of a table-name typo, that means data is
> silently loaded into the wrong place. The tools should error when the
> destination table does not exist.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira