...
It will then act similar to the debugging steps outlines in Debugging Hive code. It is faster since there is no need to compile hive code,
and go through ant. It can be used to debug both client side and server side hive. If you want to debug a particular query, start hive
and perform the stops needed before that query. Then start, hive again in debug to debug that query.
Code Block |
---|
> ./build/dist/bin/hive
> perform steps before the query
|
Code Block |
---|
> ./build/dist/bin/hive --debug
> run the query
|
Note that the local file system will be used, so the space no your machine will not be released automatically (unlike debugging via ant, where the tables created in test are automatically dropped at the end of the test). Make sure to either drop the tables explicitly, or drop the data from /User/hive/warehouse.
Pluggable interfaces
File Formats
...