Build the Samples
About this task
Procedure
-
Issue the
cmake
configuration command. This command reads the fileCMakeLists.txt
, and generates aMakefile
customized for your directory paths. -
Issue the
make
command. Themake
command runs the build steps based on rules in theMakefile
. Impala loads the shared library from a MapR filesystem location.
Results
build/
. This contains test executables that
you can run locally, without the Impala service installed. It also contains shared object
artifacts that you can run on Impala. At this point, you can write your UDFs or UDAFs. When
you write your functions, build a shared library to contain them. Use the
mapr
or hadoop
commands to copy the binary files to a
MapR filesystem location that Impala can read
from.