Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

HDP 2.0 -> 2.1 Upgrade – oozie cannot start

$
0
0

Hello,

I’ve been following carefully the steps at

http://docs.hortonworks.com/HDPDocuments/Ambari-1.5.1.0/bk_upgrading_Ambari/content/upgrade_stack21.html

for upgrading on Centos 6. This one is a small 6-node test cluster.

After the oozie upgrade steps I was getting:

Error: DB schema does not exist

So I ran
/usr/lib/oozie/bin/ooziedb.sh create -sqlfile oozie.sql -run

which ended by saying:
Oozie DB has been created for Oozie version ’4.0.0.2.1.1.0-385′

Continuing the upgrade, when I run
sudo su -l oozie -c “/usr/lib/oozie/bin/ooziedb.sh upgrade -run”
it now says
Error: Oozie DB has already been upgraded

So I decided to proceed with starting the oozie server.

The problem I’m left with is that oozie server will not start. The error in the oozie log is below.

Any hints on what I need to check to get past this?
Thanks
Ken

2014-10-05 16:19:25,599 INFO URIHandlerService:539 – USER[-] GROUP[-] Loaded urihandlers [org.apache.oozie.dependency.FSURIHandler, org.apache.oozie.dependency.HCatURIHandler]
2014-10-05 16:19:25,599 INFO URIHandlerService:539 – USER[-] GROUP[-] Loaded default urihandler org.apache.oozie.dependency.FSURIHandler
2014-10-05 16:19:28,276 FATAL Services:533 – Runtime Exception during Services Load. Check your list of ‘oozie.services’ or ‘oozie.services.ext’
2014-10-05 16:19:28,281 FATAL Services:533 – USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] E0103: Could not load service classes, Column ‘T0.RECOVERY’ is either not in any table in the FROM list or appears within a join specification and is outside the scope of the join specification or appears in a HAVING clause and is not in the GROUP BY list. If this is a CREATE or ALTER TABLE statement then ‘T0.RECOVERY’ is not a column in the target table. {SELECT t0.bean_type, t0.app_name, t0.app_path, t0.bundle_id, t0.concurrency, t0.conf, t0.external_id, t0.frequency, t0.group_name, t0.last_action_number, t0.mat_throttling, t0.time_out, t0.time_zone, t0.user_name, t0.app_namespace, t0.created_time, t0.done_materialization, t0.end_time, t0.execution, t0.job_xml, t0.last_action, t0.last_modified_time, t0.next_matd_time, t0.orig_job_xml, t0.pause_time, t0.pending, t0.recovery, t0.sla_xml, t0.start_time, t0.status, t0.suspended_time, t0.time_unit FROM COORD_JOBS t0 WHERE t0.bean_type = ? AND t0.id = ?} [code state="42X04" language="30000,"][/code]
org.apache.oozie.service.ServiceException: E0103: Could not load service classes, Column ‘T0.RECOVERY’ is either not in any table in the FROM list or appears within a join specification and is outside the scope of the join specification or appears in a HAVING clause and is not in the GROUP BY list. If this is a CREATE or ALTER TABLE statement then ‘T0.RECOVERY’ is not a column in the target table. {SELECT t0.bean_type, t0.app_name, t0.app_path, t0.bundle_id,


Viewing all articles
Browse latest Browse all 3435

Trending Articles