Josh Elser created ACCUMULO-2790:
------------------------------------
Summary: generate_monitor_certificate.sh fails on OSX
Key: ACCUMULO-2790
URL: https://issues.apache.org/jira/browse/ACCUMULO-2790
Project: Accumulo
Issue Type: Bug
Components: scripts
Affects Versions: 1.6.0, 1.5.1
Environment: OSX Mavericks (10.9.2)
Reporter: Josh Elser
Assignee: Josh Elser
Fix For: 1.5.2, 1.6.1
Tried to run {{$ACCUMULO_HOME/bin/generate_monitor_certificate.sh}} to enable
SSL with the monitor and got an error on OSX. In talking with
[~billie.rinaldi], she mentioned that she initially wrote it to work on OSX, so
I was surprised.
The error comes out of redirecting {{/dev/urandom}} into {{tr}} to generate
some random characters, which {{tr}} complains:
{noformat}
tr: Illegal byte sequence
{noformat}
It appears that maybe the [LC_CTYPE
default|http://unix.stackexchange.com/questions/45404/why-cant-tr-read-from-dev-urandom-on-osx]
for OSX changed (or maybe just my shell?). Making a change as that link
describes appears to fix the script for me.
--
This message was sent by Atlassian JIRA
(v6.2#6252)