Index: src/docs/src/documentation/content/xdocs/inputoutput.xml =================================================================== --- src/docs/src/documentation/content/xdocs/inputoutput.xml (revision 1196350) +++ src/docs/src/documentation/content/xdocs/inputoutput.xml (working copy) @@ -98,7 +98,7 @@
API

The API exposed by HCatOutputFormat is shown below.

-

The first call on the HCatOutputFormat must be setOutput; any other call will throw an exception saying the output format is not initialized. The schema for the data being written out is specified by the setSchema method. If this is not called on the HCatOutputFormat, then by default it is assumed that the the partition has the same schema as the current table level schema.

+

The first call on the HCatOutputFormat must be setOutput; any other call will throw an exception saying the output format is not initialized. The schema for the data being written out is specified by the setSchema method. You must call this method, providing the schema of data you are writing. If your data has same schema as table schema, you can use HCatOutputFormat.getTableSchema() to get the table schema and then pass that along to setSchema().

/**