----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/11922/#review23518 -----------------------------------------------------------
Just few minor comments. Have concerns with the log streaming merge implementation. That can be addressed in a separate jira. Few things to check: 1) How is coord materialization split among multiple oozie servers. Don't see any changes to CoordMaterializeTriggerRunnable. 2) Will job end notification going to a different server and ActionCheckXCommand from ActionCheckerService have some conflict? Don't think so. But would be good to confirm. 3) Services like StatusTransitService, CoordMaterializeTriggerRunnable, etc would run more often than expected based on the schedule and may overload database. Will have to look at making the queries there more efficient. /trunk/core/src/main/java/org/apache/oozie/command/Command.java <https://reviews.apache.org/r/11922/#comment49606> Can we move locks code to a separate locks package instead of util /trunk/core/src/main/java/org/apache/oozie/service/JobsConcurrencyService.java <https://reviews.apache.org/r/11922/#comment49617> static variable /trunk/core/src/main/java/org/apache/oozie/service/ZKJobsConcurrencyService.java <https://reviews.apache.org/r/11922/#comment49618> capitalization of static variable name /trunk/core/src/main/java/org/apache/oozie/service/ZKJobsConcurrencyService.java <https://reviews.apache.org/r/11922/#comment49607> Registering with a utils class looks hacky. Do we need to register and unregister? You are only tearing it down on shutdown. So can't we call teardown directly from one of the services. /trunk/core/src/main/java/org/apache/oozie/service/ZKJobsConcurrencyService.java <https://reviews.apache.org/r/11922/#comment49620> Can you add some documentation on how the data is stored in zookeeper (folder structure, metadata content, etc) on each get method. Will be easier for others to understand. /trunk/core/src/main/java/org/apache/oozie/service/ZKXLogStreamingService.java <https://reviews.apache.org/r/11922/#comment49623> Logic is good, but implementation needs rethinking as it is not efficient. Can be a separate jira. Few things that I could think of 1) If you are reading over http and at the same time processing/filtering on this server and holding up the connection, based on tomcat timeout the connection to other servers will mostly get dropped. 2) Processing is going to be very slow with the treemap implementation and the Oozie UI Ajax call could time out. /trunk/core/src/main/java/org/apache/oozie/util/ZKUtils.java <https://reviews.apache.org/r/11922/#comment49629> Why not an enum? /trunk/docs/src/site/twiki/AG_Install.twiki <https://reviews.apache.org/r/11922/#comment49630> Is this the zk path? Does it translate to /oozie later? - Rohini Palaniswamy On Aug. 13, 2013, 5:35 p.m., Robert Kanter wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/11922/ > ----------------------------------------------------------- > > (Updated Aug. 13, 2013, 5:35 p.m.) > > > Review request for oozie. > > > Bugs: OOZIE-615 > https://issues.apache.org/jira/browse/OOZIE-615 > > > Repository: oozie > > > Description > ------- > > See this comment for details: > https://issues.apache.org/jira/browse/OOZIE-615?focusedCommentId=13686181&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13686181 > > > Diffs > ----- > > /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1513595 > /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java > 1513595 > /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java > 1513595 > /trunk/core/pom.xml 1513595 > /trunk/core/src/main/java/org/apache/oozie/BaseEngine.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/BundleEngine.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/CoordinatorEngine.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/DagEngine.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/command/Command.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/command/XCommand.java 1513595 > > /trunk/core/src/main/java/org/apache/oozie/service/ActionCheckerService.java > 1513595 > > /trunk/core/src/main/java/org/apache/oozie/service/JobsConcurrencyService.java > PRE-CREATION > /trunk/core/src/main/java/org/apache/oozie/service/MemoryLocksService.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/service/PauseTransitService.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/service/PurgeService.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/service/RecoveryService.java > 1513595 > > /trunk/core/src/main/java/org/apache/oozie/service/StatusTransitService.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/service/XLogService.java 1513595 > > /trunk/core/src/main/java/org/apache/oozie/service/XLogStreamingService.java > PRE-CREATION > > /trunk/core/src/main/java/org/apache/oozie/service/ZKJobsConcurrencyService.java > PRE-CREATION > /trunk/core/src/main/java/org/apache/oozie/service/ZKLocksService.java > PRE-CREATION > > /trunk/core/src/main/java/org/apache/oozie/service/ZKXLogStreamingService.java > PRE-CREATION > /trunk/core/src/main/java/org/apache/oozie/servlet/BaseAdminServlet.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/servlet/ServicesLoader.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/servlet/V0AdminServlet.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/servlet/V0JobServlet.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/servlet/V1AdminServlet.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/servlet/V2AdminServlet.java > 1513595 > /trunk/core/src/main/java/org/apache/oozie/util/ConfigUtils.java 1513595 > > /trunk/core/src/main/java/org/apache/oozie/util/FixedJsonInstanceSerializer.java > PRE-CREATION > /trunk/core/src/main/java/org/apache/oozie/util/LockToken.java PRE-CREATION > /trunk/core/src/main/java/org/apache/oozie/util/MemoryLocks.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/util/MultiFileReader.java > PRE-CREATION > > /trunk/core/src/main/java/org/apache/oozie/util/SimpleTimestampedMessageParser.java > PRE-CREATION > > /trunk/core/src/main/java/org/apache/oozie/util/TimestampedMessageParser.java > PRE-CREATION > /trunk/core/src/main/java/org/apache/oozie/util/XLogReader.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/util/XLogStreamer.java 1513595 > /trunk/core/src/main/java/org/apache/oozie/util/ZKUtils.java PRE-CREATION > /trunk/core/src/main/resources/oozie-default.xml 1513595 > > /trunk/core/src/test/java/org/apache/oozie/TestCoordinatorEngineStreamLog.java > 1513595 > /trunk/core/src/test/java/org/apache/oozie/command/TestXCommand.java > 1513595 > > /trunk/core/src/test/java/org/apache/oozie/service/DummyLogStreamingServlet.java > PRE-CREATION > > /trunk/core/src/test/java/org/apache/oozie/service/TestJobsConcurrencyService.java > PRE-CREATION > /trunk/core/src/test/java/org/apache/oozie/service/TestXLogService.java > 1513595 > > /trunk/core/src/test/java/org/apache/oozie/service/TestXLogStreamingService.java > PRE-CREATION > > /trunk/core/src/test/java/org/apache/oozie/service/TestZKJobsConcurrencyService.java > PRE-CREATION > /trunk/core/src/test/java/org/apache/oozie/service/TestZKLocksService.java > PRE-CREATION > > /trunk/core/src/test/java/org/apache/oozie/service/TestZKXLogStreamingService.java > PRE-CREATION > > /trunk/core/src/test/java/org/apache/oozie/servlet/MockCoordinatorEngineService.java > 1513595 > > /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java > 1513595 > /trunk/core/src/test/java/org/apache/oozie/test/ZKXTestCase.java > PRE-CREATION > /trunk/core/src/test/java/org/apache/oozie/util/TestLogStreamer.java > 1513595 > /trunk/core/src/test/java/org/apache/oozie/util/TestMemoryLocks.java > 1513595 > /trunk/core/src/test/java/org/apache/oozie/util/TestMultiFileReader.java > PRE-CREATION > > /trunk/core/src/test/java/org/apache/oozie/util/TestSimplifiedTimestampedMessageParser.java > PRE-CREATION > > /trunk/core/src/test/java/org/apache/oozie/util/TestTimestampedMessageParser.java > PRE-CREATION > /trunk/core/src/test/java/org/apache/oozie/util/TestXLogFilter.java 1513595 > /trunk/core/src/test/java/org/apache/oozie/util/TestXLogReader.java 1513595 > /trunk/core/src/test/java/org/apache/oozie/util/TestZKUtils.java > PRE-CREATION > /trunk/distro/src/main/tomcat/ssl-web.xml 1513595 > /trunk/docs/src/site/twiki/AG_Install.twiki 1513595 > /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1513595 > /trunk/docs/src/site/twiki/WebServicesAPI.twiki 1513595 > /trunk/pom.xml 1513595 > > Diff: https://reviews.apache.org/r/11922/diff/ > > > Testing > ------- > > > Thanks, > > Robert Kanter > >
