Your SQL-MapReduce functions can emit debugging messages written to the standard output or the standard error. During or after execution, access to the standard output (stdout) and standard error (stderr) is provided through the AMC, as this procedure shows.
- Open the AMC in a browser window by typing http:IP_address_of_queen
- Go to the Processes tab.
- Find your query in the Processes list. To do this, it may be helpful to sort based on Type or User. Click a column to sort based on that column.
-
Click the ID of the query you wish to view. In the Process Detail tab that appears, click the View Logs button.
Checking the error logs after an SQL-MapReduce function has run