Skip to content

Commit 1f43ac7

Browse files
author
mcharles
committed
Update 2015-07-06-geomesa-HDP-deploy.md
1 parent 22a887b commit 1f43ac7

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

_posts/2015-07-06-geomesa-HDP-deploy.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Right-click the image in VirtualBox and selet 'Start'
3535

3636
<br>
3737
##### Stage 1 Checkpoint
38-
- Enter '127.0.0.1:8888' in browser and to be directed to the Hortnworks Sandbox registration page
38+
- Enter '127.0.0.1:8888' in browser and to be directed to the Hortonworks Sandbox registration page
3939
- Enter 'localhost:50070/dfshealth.jsp' to view Hadoop NameNode status
4040

4141

@@ -71,10 +71,12 @@ export HADOOP_HOME=/usr/hdp/2.2.4.2-2/hadoop
7171
```
7272

7373
##### 2.4
74-
Switch to the HDFS user and make an Accumulo data directory
74+
Switch to the HDFS user to make an Accumulo data directory and set appropriate permissions
7575
```
7676
su hdfs
7777
hadoop fs -mkdir -p /apps/accumulo
78+
hadoop fs -chmod -R 700 /apps/accumulo
79+
hadoop fs -chown -R accumulo:accumulo /apps/accumulo
7880
```
7981
Switch back to the root user ('su root')
8082

@@ -103,15 +105,6 @@ Edit the following 5 files, located in ```$ACCUMULO_HOME/conf```, and replace "l
103105
- slaves
104106

105107
##### 2.8
106-
Change permissions and ownership of the Accumulo data directory:
107-
```
108-
su hdfs
109-
hadoop fs -chmod -R 700 /apps/accumulo
110-
hadoop fs -chown -R accumulo:accumulo /apps/accumulo
111-
```
112-
Switch back to the root user
113-
114-
##### 2.9
115108

116109
Initialize Accumulo:
117110
```
@@ -146,7 +139,7 @@ Find ```geomesa-1.1.0-rc.3-SNAPSHOT.jar``` in the GeoMesa build on local machine
146139
```
147140
scp -P 2222 geomesa-assemble/target/geomesa-1.1.0-rc.3-SNAPSHOT-bin.tar.gz [email protected]:/usr/hdp/2.2.4.2-2/
148141
```
149-
Untar the file to create a GeoMesa directory on the VM (e.g. /usr/hdp/2.2.4.2-2/geomesa-1.1.0-rc.3-SNAPSHOT) and set GeoMesa Home:
142+
On the VM, untar the file to create a GeoMesa directory (e.g. /usr/hdp/2.2.4.2-2/geomesa-1.1.0-rc.3-SNAPSHOT) and set GEOMSA_HOME:
150143

151144
```
152145
export GEOMESA_HOME=/usr/hdp/2.2.4.2-2/geomesa-1.1.0-rc.3-SNAPSHOT
@@ -164,7 +157,7 @@ Install GPL software:
164157
```
165158
bin/install-jai
166159
bin/install-jline
167-
bin/install vecmath
160+
bin/install-vecmath
168161
```
169162

170163
##### 3.4

0 commit comments

Comments
 (0)