You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/04/07 14:10:17 UTC

[GitHub] [accumulo-website] findinpath opened a new pull request #270: Update quickstart.md

findinpath opened a new pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270


   Update quickstart.md to contain explicitly all the necessary commands needed to setup the accumulo environment on a single node.
   When starting only tserver, some of the commands (e.g. : `createtable mytable` )executed on the accumulo shell will hang undefinitely


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] EdColeman commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
EdColeman commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r609770532



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       What version of Accumulo?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] findinpath commented on pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
findinpath commented on pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#issuecomment-816098786


   Thank you @EdColeman  and @ctubbsii  for taking the time to talk with me on the quick start documentation topic.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] EdColeman commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
EdColeman commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r608771693



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       The dos start with consider using fluo-uno  - that's the easiest on ramp that I know of. Is there a reason that you did not try it? Would chaning / adding wording there have made you more likely to use fluo-uno?
   
   Moving the cluster command before the individual commands might have made your experience easier - with accumulo-cluster start, things should have been started and removes the beginner from needing five commands instead of one.
   
   But with that, uno fetch accumulo, uno start accumulo is way easier than setting up accumulo from scratch.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] EdColeman commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
EdColeman commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r608771693



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       The docs start with consider using fluo-uno  - that's the easiest on ramp that I know of. Is there a reason that you did not try it? Would changing / adding wording there have made you more likely to use fluo-uno?
   
   Moving the cluster command before the individual commands might have made your experience easier - with accumulo-cluster start, things should have been started and removes the beginner from needing five commands instead of one.
   
   But with that, uno fetch accumulo, uno start accumulo is way easier than setting up accumulo from scratch.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] ctubbsii commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
ctubbsii commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r609967774



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       Since that is unrelated, let's not bog this issue down with that issue. See apache/accumulo#1530 for more.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] findinpath commented on pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
findinpath commented on pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#issuecomment-815899383


   Latest
   
   2.0.1
   
   On Thu, Apr 8, 2021 at 4:36 PM EdColeman ***@***.***> wrote:
   
   > *@EdColeman* commented on this pull request.
   > ------------------------------
   >
   > In _docs-2/getting-started/quickstart.md
   > <https://github.com/apache/accumulo-website/pull/270#discussion_r609770532>
   > :
   >
   > >      accumulo-service tserver start
   > +    accumulo-service monitor start
   >
   > What version of Accumulo?
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/accumulo-website/pull/270#discussion_r609770532>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/ANU3TAP2KO54YS3ZBONKBHTTHW5O3ANCNFSM42Q32WMA>
   > .
   >
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] ctubbsii commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
ctubbsii commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r609963675



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor

Review comment:
       I made some suggested improvements in #271 . Please take a look and see if they help alleviate the concerns you were trying to address in this PR.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] EdColeman commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
EdColeman commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r609084740



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       For the zookeeper issue we'd need to know the zookeeper and accumlo versions.  There were changes in ZooKeeper 3.x series that modified where zookeeper store jars and separated the jute (zk comms layer) into a separate jar.  That's one benefit of uno - it should download compatible versions of things - it also allows you to point at you local reop and build / run accumulo with your changes if you think you might go down that route in the future.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] findinpath commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
findinpath commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r609454218



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       I tried with both apache zookeeper 3.5.9 and zookeeper 3.7.0
   In both of them, the .jar libraries are located under `ZOOKEEPER_HOME/lib` directory.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] EdColeman commented on pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
EdColeman commented on pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#issuecomment-815949906


   The pom for 2.0.1 specifies zookeeper 3.4.14.  
   
   For the next release (main branch), the pom currently has ZooKeeper version 3.5.9 and it looks like the accumulo-env.sh has been updated with the zookeeper jar locations ($ZOOKEEPER_HOME/lib/) for later zookeeper releases.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] findinpath commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
findinpath commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r608753681



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       @EdColeman i'm a newbie with accumulo and while trying to create a table i simply didn't know why it hangs.
   I've spent more than an hour debugging and pondering about it, and afterwards I came to see the fact that there are more services to start, not only the `tserver`.
   
   Obviously my modification is quite naive because there are probably more services. So what you are suggesting with `accumulo [service-name]` fits much better.
   
   The quick start for me wasn't so quick :)
   
   I came across the sample code https://github.com/apache/accumulo-examples/blob/main/docs/sample.md which gives a few pointers on how to work with the accumulo shell - I find it quite good for a quick start - to get a feeling about what accumulo actually does.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] findinpath closed pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
findinpath closed pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] findinpath commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
findinpath commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r609018113



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       > But with that, uno fetch accumulo, uno start accumulo is way easier than setting up accumulo from scratch.
   
   I'm looking now through the code of `uno` and see that it downloads everything what is needed. I am sorry, but due to the fact that I have already zookeeper and hadoop on my machine I thought to opt to simply install the bin archive of accumulo.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] findinpath commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
findinpath commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r610032161



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor

Review comment:
       It looks good to me, but now I am bit biased because I read in the meantime more about the architecture of accumulo and know now a bit how to use it.
   
   I'd highlight which of the services need to run on the local installation at the very least. I don't run for example GC and it's still fine. You may say that I should have used Uno, but maybe some other users will try their luck also by doing directly a local installation of accumulo.
   
   Also important is a link to the wonderful accumulo-examples repository. This is a gem containing quite useful stuff to get started with accumulo.
   
   Troubleshooting is also quite welcome. Without troubleshooting tips some of the users will stop early after trying to setup accumulo.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] findinpath commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
findinpath commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r609002893



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       A bit unrelated, but another small issue I've encountered was the `ClassNotFoundError` regarding zookeeper's KeeperException class.
   
   Cause of it : 
   `accumulo-env.sh`
   ```
    
    
    
    CLASSPATH="${CLASSPATH}:${lib}/*:${HADOOP_CONF_DIR}:${ZOOKEEPER_HOME}/*:${HADOOP_HOME}/share/hadoop/client/*"
   ```
   
   replaced it with 
   
   ```
    
    
    
    CLASSPATH="${CLASSPATH}:${lib}/*:${HADOOP_CONF_DIR}:${ZOOKEEPER_HOME}/lib/*:${HADOOP_HOME}/share/hadoop/client/*"
   ```
   
   (added `lib` after ZOOKEEPER_HOME)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] ctubbsii commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
ctubbsii commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r608808177



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor

Review comment:
       I think this was an example explaining how to start an individual service, generally. Rather than add the other services as an example, it would probably be better to reword the instructions to make it clear that this is just one example.
   
   (similar comment below)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-website] EdColeman commented on a change in pull request #270: Update quickstart.md

Posted by GitBox <gi...@apache.org>.
EdColeman commented on a change in pull request #270:
URL: https://github.com/apache/accumulo-website/pull/270#discussion_r608746245



##########
File path: _docs-2/getting-started/quickstart.md
##########
@@ -137,15 +137,19 @@ Each method above has instructions below.
 
 Start Accumulo processes (tserver, master, monitor, etc) using command below:
 
+    accumulo master
     accumulo tserver
+    accumulo monitor
 
 The process will run in the foreground. Use ctrl-c to quit.
 
 ### Run Accumulo services
 
 Start Accumulo services (tserver, master, monitor, etc) using command below:
 
+    accumulo-service master start
     accumulo-service tserver start
+    accumulo-service monitor start

Review comment:
       You can use the accumulo-cluster cmd to start all of the services either on a single node or on multiple nodes - these commands are only necessary if you elect to run each manually (or say you need to restart just one)  Maybe it would be more user-friendly if the accumulo-cluster command section came before this section?
   
   Also, for a complete installation I believe that you might be missing necessary services (gc). Then maybe this could be
   `accumulo [service-name] or accumulo-service [service-name] start | stop` with a more complete list of the required service names?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org