Database Reference
In-Depth Information
HADOOP: Stopping historyserver service
HADOOP: Stopping HDFS services if already running before proceeding with install
HADOOP: Stopping "hdfs" "namenode datanode secondarynamenode" services
HADOOP: Stopping namenode service
HADOOP: Stopping datanode service
HADOOP: Stopping secondarynamenode service
HADOOP: Logging to existing log C:\HadoopInstallFiles\HadoopSetupTools\hdp-1.0.1.winpkg.install.log
…………….
The installer log is a great place to review how each of the operations are set up and executed. Even if there are
no errors during deployment, you should refer to this log for a detailed understanding of your own on the sequence of
operations during the installation. The log is stripped off for brevity. It contains the messages for each of the projects
that get deployed. I have stopped here at Hadoop; in your installer log, you would see the verbose message for Hive,
Pig, Sqoop and the rest of the projects.
If there is a component missing after the installation (such as Hive), you can investigate the install.log file,
scroll down to the section for the respective component, and track down the cause of the error.
Troubleshooting Visual Studio Deployments
As described in Chapter 4, you can use the Hadoop .NET SDK classes to programmatically deploy your HDInsight
clusters through Microsoft Visual Studio projects. The Visual Studio IDE gives you a couple of great ways to debug
your application when some operation throws errors or does not produce the desired output.
Using Breakpoints
A breakpoint is a special marker in your code that is active when executing the program while using the Visual
Studio debugger. When the marker is reached, it causes the program to pause, changing the execution mode to break
mode. You can then step through the code line by line using the Visual Studio debugging tools, while monitoring the
contents of local and watched variables. You can set a breakpoint on a particular line from the Debug menu of Visual
Studio or by simply pressing the function key F9 . Figure 12-3 shows a sample scenario in your HadoopClient solution
where a breakpoint is hit and you can examine your variable values.
 
Search WWH ::




Custom Search