Database Reference
In-Depth Information
10.
Figure 13.16
displays the result when your command is submitted to
your HDInsight cluster. The console will continually update the status
as processing proceeds. If you prefer to see the entire job output, click
the More link displayed in the job status update. If the More link is not
visible, you might need to scroll in the console window to the right.
Figure 13.16
HDInsight JavaScript console
11. When your job completes, you can use the Hadoop
FileSystem
commands to explore the results. The
#lsr Top10Words
command
will display the files output by your processing job, and the
#tail
Top10Words/part-r-00000
will read and print out the end of your
file, as shown in
Figure 13.17
.
TIP
The Hadoop
FileSystem #cat
command prints out the entire
contents of a file to the console window. If you are working with a
very large file, this is probably not a desirable function. Instead, you
can use the
#
tail
function to peek or preview the last kilobyte of
the file.