Return-Path: X-Original-To: apmail-incubator-oozie-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-oozie-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29CE698CE for ; Tue, 4 Oct 2011 00:10:36 +0000 (UTC) Received: (qmail 40378 invoked by uid 500); 4 Oct 2011 00:10:36 -0000 Delivered-To: apmail-incubator-oozie-users-archive@incubator.apache.org Received: (qmail 40340 invoked by uid 500); 4 Oct 2011 00:10:36 -0000 Mailing-List: contact oozie-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oozie-users@incubator.apache.org Delivered-To: mailing list oozie-users@incubator.apache.org Received: (qmail 40330 invoked by uid 99); 4 Oct 2011 00:10:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2011 00:10:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tucu@cloudera.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vw0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2011 00:10:29 +0000 Received: by vwe42 with SMTP id 42so3552369vwe.6 for ; Mon, 03 Oct 2011 17:10:08 -0700 (PDT) Received: by 10.52.36.19 with SMTP id m19mr500783vdj.403.1317687008079; Mon, 03 Oct 2011 17:10:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.112.66 with HTTP; Mon, 3 Oct 2011 17:09:38 -0700 (PDT) In-Reply-To: References: From: Alejandro Abdelnur Date: Mon, 3 Oct 2011 17:09:38 -0700 Message-ID: Subject: Re: Oozie setup issue To: CDH Users Content-Type: multipart/alternative; boundary=20cf307abeb90aaefc04ae6deab8 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307abeb90aaefc04ae6deab8 Content-Type: text/plain; charset=ISO-8859-1 [moving this thread to cdh-user@ alias as it is a CDH related issue, oozie-users@ BCCed] Matthew, The Oozie binaries are owned by root, but the Oozie data directories /var/lib/oozie, /var/log/oozie, /var/tmp/oozie are own by the 'oozie' unix user. If installing oozie from CDH RPM you don't need to run chown, nor need to add OOZIE_CHECK_OWNER, nor need to add oozie to the sudoers. You have to start/stop Oozie using the /sbin/service command 'sudo /sbin/service oozie start' That will start Oozie with the correct user. If you started Oozie with root unix user the first time, all the Oozie data directories will have files owned by root thus will fail when trying to start with the oozie unix user. I'd suggest doing a clean install and starting Oozie with the 'sudo /sbin/servce oozie start' command. That should would. Thanks. Alejandro On Mon, Oct 3, 2011 at 3:27 PM, GOEKE, MATTHEW (AG/1000) < matthew.goeke@monsanto.com> wrote: > I am having issues setting up the version of oozie that comes with CDH3u1 > (pretty sure 2.2) from the included rpm. So far I have: > > *ran the rpm > *chown'ed the oozie directories over to the oozie user / group (for some > reason the rpm didn't do that) > *changed JRE_HOME to point to our current Java version > *added OOZIE_CHECK_OWNER=true to confirm ownership during startup > *added the ability to -u oozie into the sudoers > *added in the extjs dependency using the oozie-setup.sh > > I have debugged through several things but now I seem to be hitting a brick > wall. For some reason I getting the below error in the oozie.log file found > in /var/log/oozie/ and I am at a loss at this point for what I am missing. I > know it is some minor oversight but I would love some help on this and I can > include the full log if necessary. Thanks in advance :) > > Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: DDL is not > permitted for a read-only connection, user or database. > > Matt > > > > > > > > > > > > > > > > > > > > > > This e-mail message may contain privileged and/or confidential information, > and is intended to be received only by persons entitled > to receive such information. If you have received this e-mail in error, > please notify the sender immediately. Please delete it and > all attachments from any servers, hard drives or any other media. Other use > of this e-mail by you is strictly prohibited. > > All e-mails and attachments sent and received are subject to monitoring, > reading and archival by Monsanto, including its > subsidiaries. The recipient of this e-mail is solely responsible for > checking for the presence of "Viruses" or other "Malware". > Monsanto, along with its subsidiaries, accepts no liability for any damage > caused by any such code transmitted by or accompanying > this e-mail or any attachment. > > > The information contained in this email may be subject to the export > control laws and regulations of the United States, potentially > including but not limited to the Export Administration Regulations (EAR) > and sanctions regulations issued by the U.S. Department of > Treasury, Office of Foreign Asset Controls (OFAC). As a recipient of this > information you are obligated to comply with all > applicable U.S. export laws and regulations. > --20cf307abeb90aaefc04ae6deab8--