We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6381682 commit ea62faaCopy full SHA for ea62faa
core/src/main/ruby/shell/commands.rb
@@ -49,6 +49,8 @@ def translate_hbase_exceptions(*args)
49
rescue org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException
50
valid_cols = table(args.first).get_all_columns.map { |c| c + '*' }
51
raise "Unknown column family! Valid column names: #{valid_cols.join(", ")}"
52
+ rescue org.apache.hadoop.hbase.TableExistsException
53
+ raise "Table already exists: #{args.first}!"
54
end
55
56
0 commit comments