Results 1 to 2 of 2

Thread: SHDP namespace | Hadoop Beans configuration order

  1. #1

    Question SHDP namespace | Hadoop Beans configuration order

    In what order are the various Hadoop beans configured?

    While using SHDP namespace, is there is a way to ensure for example that the "hdp:script" is executed before "hdp:cache"? Is there anything similar to the "pre-action" in "hdp:job-runner" for other beans?

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    They just respect the Spring container lifecycle, meaning the singletons are initialized first, in their declaring order. hdp:script and hdp:cache are singletons so as long as hdp:cache is declared first (and is picked up first accordingly, before hdp:script) it should be evaluated first.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •