We'll go through the whole development and deployment steps with an example. Let's create a simple function called toUpper, which converts a string to uppercase, by following development and deployment steps:
- Download and install a Java IDE, such as Eclipse or IntelliJ IDEA.
- Start the IDE and create a Java project
- Right-click on the project to choose the Build Path | Configure Build Path | Add External Jars option. It will open a new window. Navigate to the directory with the library of Hive and Hadoop. Then, select and add all JAR files we need to import. We can also resolve the library dependency automatically by using Maven (http://maven.apache.org/); the proper pom.xml file is given in the sample code for this ...