public static void TearDown()
 {
     if (yarnCluster != null)
     {
         try
         {
             yarnCluster.Stop();
         }
         finally
         {
             yarnCluster = null;
         }
     }
 }
Exemplo n.º 2
0
        public virtual void TearDown()
        {
            if (yarnCluster != null)
            {
                try
                {
                    yarnCluster.Stop();
                }
                finally
                {
                    yarnCluster = null;
                }
            }
            FileContext fsContext = FileContext.GetLocalFSFileContext();

            fsContext.Delete(new Path(conf.Get("yarn.timeline-service.leveldb-timeline-store.path"
                                               )), true);
        }
Exemplo n.º 3
0
 public virtual void Teardown()
 {
     cluster.Stop();
 }
Exemplo n.º 4
0
 public virtual void TearDown()
 {
     rmClient.Stop();
     yarnClient.Stop();
     yarnCluster.Stop();
 }