function hadoopCompiler(varargin)

%HADOOPCOMPILER Hadoop Compiler app
%
%    This function will start the Hadoop Compiler. You can create, build
%    and package Hadoop deployment projects using the Hadoop Compiler app.
%
%    USAGE:
%    hadoopCompiler will start the app with an empty Hadoop MapReduce project.
%
%    hadoopCompiler projectname will open an existing project in the
%    app. If the project does not exist, an error will be generated and the
%    program will exit.
%
%    See also applicationCompiler, deploytool, libraryCompiler, mcc, mbuild, productionServerCompiler, webAppCompiler

% Copyright 2014-2016 MathWorks, Inc.

narginchk(0,1)

% Verify Compiler license
status = license('checkout','Compiler');
if ~status
    error(message('Compiler:deploytool:license_checkout_error'))
end

compiler.internal.launchui(mfilename,varargin{:})
