Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2003

Bigtop puppet fails to deploy on Ubuntu due to a hiera 1.3.0 bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • vm
    • None

    Description

      hiera 1.3.0 fails with empty yaml file, hence we get the following error when running deployment on Ubuntu:

      vagrant-puppet-vm $ cat vagrantconfig.yaml
      memory_size: 4096
      number_cpus: 1
      box: "puppetlabs/ubuntu-14.04-64-puppet"
      repo: "http://bigtop01.cloudera.org:8080/view/Releases/job/Bigtop-1.0.0-deb/BUILD_ENVIRONMENTS=debian-8%2clabel=docker-slave-07/lastSuccessfulBuild/artifact/output/apt/"
      num_instances: 1
      distro: debian
      components: [hadoop, yarn]
      enable_local_repo: false
      run_smoke_tests: false
      smoke_test_components: [mapreduce, pig]
      jdk: "openjdk-7-jdk"
      
      vagrant-puppet-vm $ vagrant up
      ...
      ==> bigtop1: Error: Error from DataBinding 'hiera' while looking up 'hadoop_cluster_node::hadoop_security_authentication': Data                    retrieved from /etc/puppet/hieradata/bigtop/noha.yaml is String not Hash on node bigtop1
      ==> bigtop1: Wrapped exception:
      ==> bigtop1: Data retrieved from /etc/puppet/hieradata/bigtop/noha.yaml is String not Hash
      ==> bigtop1: Wrapped exception:
      ==> bigtop1: Data retrieved from /etc/puppet/hieradata/bigtop/noha.yaml is String not Hash
      ==> bigtop1: Error: Error from DataBinding 'hiera' while looking up 'hadoop_cluster_node::hadoop_security_authentication': Data                    retrieved from /etc/puppet/hieradata/bigtop/noha.yaml is String not Hash on node bigtop1
      

      Attachments

        Issue Links

          Activity

            People

              evans_ye Evans Ye
              evans_ye Evans Ye
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: