Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geowave-dev] problems with deploy-geowave-to-hdfs.sh

Mike,

  If I remember that username correctly it's used when you select the "Single User Install Mode" option during a Cloudera install. We resolved that issue with the following ticket: https://github.com/ngageoint/geowave/pull/424 and if you look in any of the releases after 0.8.7 the fix has already been applied.

0.8.7 release missing the cloudera-scm user
https://github.com/ngageoint/geowave/blob/v0.8.7/deploy/packaging/rpm/centos/6/SOURCES/deploy-geowave-to-hdfs.sh#L26

Latest 0.8.9 release with user
https://github.com/ngageoint/geowave/blob/v0.8.9/deploy/packaging/rpm/centos/6/SOURCES/deploy-geowave-to-hdfs.sh#L38

If you've got everything else working and you want to stick with 0.8.7 then it's a simple fix to the script. If you're just starting out I'd recommend you uninstall those 0.8.7 RPMs and try the latest 0.8.9 release.

Andy


On Fri, Jan 29, 2016 at 8:55 AM, Freeman, Michael <FreemanM@xxxxxxxxxxxxx> wrote:


Hello,

I must have missed something here: http://ngageoint.github.io/geowave/documentation.html#examples
It says:

# Install GeoWave Accumulo iterator on a host (probably a namenode)
yum --enablerepo=geowave install geowave-0.8.7-cdh5-accumulo

I am running on a namenode. My HDFS location for accumulo is /accumulo. However the /accumulo location is owned by cloudera-scm, a nologin account. So when the deploy-geowave-to-hdfs.sh script tries to su to the supplied account (cloudera-scm) it prompts for a password. There is no password. There is no associated shell. Generally anytime the account is used, it is used via sudo -u, e.g.:

sudo -u cloudera-scm hadoop fs -ls /accumulo

I also tried:

sudo -u cloudera-scm bash

And then executed the script (no args). It prompts for a password.

I can modify the script to get it to work, but I can't be the first person to encounter this. And I want to do this in a sane fashion. Can you tell me how you intend for the user to accomplish this with the cloudera-scm nologin account?

Thanks,
Mike

_______________________________________________
geowave-dev mailing list
geowave-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geowave-dev



Back to the top