- Hadoop Beginner's Guide
- Garry Turkington
- 126字
- 2021-07-29 16:51:38
Time for action – setting up the classpath
To compile any Hadoop-related code, we will need to refer to the standard Hadoop-bundled classes.
Add the Hadoop-1.0.4.core.jar
file from the distribution to the Java classpath as follows:
$ export CLASSPATH=.:${HADOOP_HOME}/Hadoop-1.0.4.core.jar:${CLASSPATH}
What just happened?
This adds the Hadoop-1.0.4.core.jar
file explicitly to the classpath alongside the current directory and the previous contents of the CLASSPATH environment variable.
Once again, it would be good to put this in your shell startup file or a standalone file to be sourced.
推薦閱讀
- Canvas LMS Course Design
- 工業(yè)機器人工程應(yīng)用虛擬仿真教程:MotoSim EG-VRC
- JMAG電機電磁仿真分析與實例解析
- 城市道路交通主動控制技術(shù)
- 步步圖解自動化綜合技能
- Mastering ServiceNow Scripting
- 從零開始學(xué)C++
- 悟透AutoCAD 2009案例自學(xué)手冊
- 網(wǎng)絡(luò)服務(wù)器搭建與管理
- 手機游戲策劃設(shè)計
- Building Google Cloud Platform Solutions
- Unreal Development Kit Game Design Cookbook
- 新世紀Photoshop CS6中文版應(yīng)用教程
- Raspberry Pi 3 Projects for Java Programmers
- Python Data Mining Quick Start Guide