Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Checking

...

out

...

AMBARI-666

...

The

...

following

...

uses

...

Ambari

...

git

...

for

...

the

...

development

...

process.

...

Please

...

keep

...

in

...

mind

...

git

...

is

...

read

...

only

...

and

...

patches

...

will

...

have

...

to

...

be

...

uploaded

...

and

...

committed

...

via

...

svn.

...

git

...

clone

...

git://git.apache.org/ambari.git

...

git

...

checkout

...

-b

...

AMBARI-666

...

origin/AMBARI-666

...

Building

...

Ambari

...

After

...

checking

...

out

...

Ambari,

...

you

...

can

...

build

...

ambari

...

with

...

the

...

steps

...

below:

...

$

...

mvn

...

clean

...

install

...

Note:

...

The

...

above

...

is

...

for

...

just

...

building

...

the

...

jars.

...

See

...

below

...

for

...

starting/deploying

...

the

...

server

...

and

...

the

...

agent.

...

Building Artifacts and Running the Server/Agent

...

NOTE:

...

Though

...

the

...

documentation

...

below

...

mentions

...

agent

...

its

...

not

...

there

...

yet

...

and

...

is

...

coming

...

up.

...

To

...

build

...

tarball

...

artifacts

...

run:

...

$mvn

...

clean

...

package

...

assembly:assembly

...

This

...

will

...

build

...

the

...

server/agent

...

tarballs.

...

For

...

running

...

the

...

server:

...

$

...

cp

...

ambari-server/target/ambari-server-*-dist.tar.gz

...

INSTALL_DIR

...

/*

...

where

...

install

...

dir

...

is

...

some

...

directory

...

where

...

you

...

want

...

to

...

run

...

the

...

server

...

*/

...

$

...

cd

...

INSTALL_DIR

...

$

...

tar

...

-zxvf

...

ambari-server-*-dist.tar.gz

...

$

...

cd

...

ambari-server-*

...

$

...

java

...

-cp

...

lib/*:

...

org.apache.ambari.server.controller.AmbariServer

...

The

...

server

...

will

...

come

...

up

...

and

...

run

...

as

...

a

...

foreground

...

process.

...

Scripting

...

will

...

come

...

as

...

we

...

move

...

along

...

to

...

run

...

the

...

server

...

with

...

proper

...

confs/envs.

...

To

...

check

...

if

...

the

...

server

...

is

...

up

...

and

...

healthy,

...

you

...

can

...

go

...

to:

...

http://

...

HOSTNAME

...

:4080/api/check

...

Image Added

The

...

status

...

will

...

show

...

as

...

running.

...

or

...

you

...

can

...

do:

...

curl

...

localhost:4080/api/check

...

Running

...

the

...

agent

...

-

...

Coming

...

up

...

next.

...

Setting

...

up

...

Eclipse

...

with

...

Ambari

...

$

...

mvn

...

clean

...

eclipse:eclipse

...

After

...

doing

...

the

...

above

...

you

...

should

...

be

...

able

...

to

...

import

...

the

...

project

...

via

...

eclipse's

...

import

...

project.

...

You

...

should

...

be

...

able

...

to

...

see

...

the

...

following

...

projects

...

on

...

eclipse:

...

>

...

ambari-server

...


>

...

ambari-agent

...