[ 
https://issues.apache.org/jira/browse/ATLAS-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabio Badali updated ATLAS-2940:
--------------------------------
    Description: 
Following the steps described in 
[https://atlas.apache.org/InstallationSteps.html], particularly:
{quote}
h5. Setting up Apache Atlas

There are a few steps that setup dependencies of Apache Atlas. One such example 
is setting up the [JanusGraph|https://atlas.apache.org/JanusGraph.html] schema 
in the storage backend of choice. In a simple single server setup, these are 
automatically setup with default configuration when the server first accesses 
these dependencies.

However, there are scenarios when we may want to run setup steps explicitly as 
one time operations. For example, in a multiple server scenario using [High 
Availability|https://atlas.apache.org/HighAvailability.html], it is preferable 
to run setup steps from one of the server instances the first time, and then 
start the services.

To run these steps one time, execute the command {{bin/atlas_start.py -setup}} 
from a single Apache Atlas server instance.

However, Apache Atlas server does take care of parallel executions of the setup 
steps. Also, running the setup steps multiple times is idempotent. Therefore, 
if one chooses to run the setup steps as part of server startup, for 
convenience, then they should enable the configuration option 
{{atlas.server.run.setup.on.start}} by defining it with the value {{true}} in 
the {{atlas-application.properties}} file.
{quote}
I got the following error:

 
{code:java}
Error: Could not find or load main class 
org.apache.atlas.web.setup.AtlasSetup{code}
It seems the class was removed after refactoring in commit 
[96fb0e|https://github.com/apache/atlas/commit/96fb0e77a4fd979d1ff49ac6b3dd290d5bf721a9].
 Documentation and/or script should be modified accordingly to new version.

 

  was:
Following the steps described in 
[https://atlas.apache.org/InstallationSteps.html], particularly:
{quote}
h5. Setting up Apache Atlas

There are a few steps that setup dependencies of Apache Atlas. One such example 
is setting up the [JanusGraph|https://atlas.apache.org/JanusGraph.html] schema 
in the storage backend of choice. In a simple single server setup, these are 
automatically setup with default configuration when the server first accesses 
these dependencies.

However, there are scenarios when we may want to run setup steps explicitly as 
one time operations. For example, in a multiple server scenario using [High 
Availability|https://atlas.apache.org/HighAvailability.html], it is preferable 
to run setup steps from one of the server instances the first time, and then 
start the services.

To run these steps one time, execute the command {{bin/atlas_start.py -setup}} 
from a single Apache Atlas server instance.

However, Apache Atlas server does take care of parallel executions of the setup 
steps. Also, running the setup steps multiple times is idempotent. Therefore, 
if one chooses to run the setup steps as part of server startup, for 
convenience, then they should enable the configuration option 
{{atlas.server.run.setup.on.start}} by defining it with the value {{true}} in 
the {{atlas-application.properties}} file.
{quote}
I got the following error:

 
{code:java}
Error: Could not find or load main class 
org.apache.atlas.web.setup.AtlasSetup{code}
It seems the class was removed after refactoring in commit 
[[96fb0e|https://github.com/apache/atlas/commit/96fb0e77a4fd979d1ff49ac6b3dd290d5bf721a9]|https://github.com/apache/atlas/commit/96fb0e77a4fd979d1ff49ac6b3dd290d5bf721a9].
 Documentation and/or script should be modified accordingly to new version.

 


> Documentation and atlas_start.py script for Atlas Setup are not aligned with 
> new versions
> -----------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2940
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2940
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.8.1, 1.0.0-alpha, 0.8.2, 1.0.0, 0.8.3, 1.1.0
>            Reporter: Fabio Badali
>            Priority: Minor
>
> Following the steps described in 
> [https://atlas.apache.org/InstallationSteps.html], particularly:
> {quote}
> h5. Setting up Apache Atlas
> There are a few steps that setup dependencies of Apache Atlas. One such 
> example is setting up the 
> [JanusGraph|https://atlas.apache.org/JanusGraph.html] schema in the storage 
> backend of choice. In a simple single server setup, these are automatically 
> setup with default configuration when the server first accesses these 
> dependencies.
> However, there are scenarios when we may want to run setup steps explicitly 
> as one time operations. For example, in a multiple server scenario using 
> [High Availability|https://atlas.apache.org/HighAvailability.html], it is 
> preferable to run setup steps from one of the server instances the first 
> time, and then start the services.
> To run these steps one time, execute the command {{bin/atlas_start.py 
> -setup}} from a single Apache Atlas server instance.
> However, Apache Atlas server does take care of parallel executions of the 
> setup steps. Also, running the setup steps multiple times is idempotent. 
> Therefore, if one chooses to run the setup steps as part of server startup, 
> for convenience, then they should enable the configuration option 
> {{atlas.server.run.setup.on.start}} by defining it with the value {{true}} in 
> the {{atlas-application.properties}} file.
> {quote}
> I got the following error:
>  
> {code:java}
> Error: Could not find or load main class 
> org.apache.atlas.web.setup.AtlasSetup{code}
> It seems the class was removed after refactoring in commit 
> [96fb0e|https://github.com/apache/atlas/commit/96fb0e77a4fd979d1ff49ac6b3dd290d5bf721a9].
>  Documentation and/or script should be modified accordingly to new version.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to