Database Reference
In-Depth Information
There are, however, changes in the port numbers of the REST APIs that the emulator exposes. Logically enough,
the security constraints are much less restrictive in the local emulator than with the Azure service, since the emulator
resides in your local machine where you have more control. You have to be careful opening the respective ports if you
wish to use the REST APIs to obtain status, version details, and so forth. Here is the list of the REST endpoints for the
emulator, along with their port numbers:
Oozie:
http://localhost:11000/oozie/v1/admin/status .
Templeton:
http://localhost:50111/templeton/v1/status .
ODBC: Use port 10001 in the DSN configuration or connection string.
http://localhost:50111 as the cluster name wherever you require.
To start and stop the Hadoop services on the local emulator, you can use the start-onebox.cmd and stop-onebox.cmd
command files from the C:\Hadoop directory. PowerShell versions for these files are available as well if you are a PowerShell
fan, as shown in Figure 7-9 .
Cluster Name: Use
Figure 7-9. Hadoop Service control files
Once you start up the Hadoop services using the start-onebox.cmd file, you see output similar to Listing 7-2 in
the console.
Listing 7-2. start-onebox.cmd
c:\Hadoop>start-onebox.cmd
Starting Hadoop Core services
Starting Hadoop services
Starting namenode
The Apache Hadoop namenode service is starting.
The Apache Hadoop namenode service was started successfully.
Starting datanode
The Apache Hadoop datanode service is starting.
The Apache Hadoop datanode service was started successfully.
 
Search WWH ::




Custom Search