Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for deleting installed services based on Ambari

An installed and service name technology, applied in the field of Ambari platform, can solve the problem of deleting installed services, etc., to achieve the effect of good promotion and use value and convenient modification

Inactive Publication Date: 2017-01-04
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF1 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical task of the present invention is to provide a method for deleting installed services based on Ambari to solve the problem of how to quickly delete installed services

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] The method for deleting installed service based on Ambari of the present invention, steps are as follows:

[0026] (1) Check the deleted service configuration file to clarify its service name and included component name; the service name and included component name can be found in the corresponding service metainfo.xml under stacks in the source code;

[0027] (2) Use the Find command to find the files and folders involved in the deleted service. At present, the following types of errors are mainly reported: service installation directory, service log directory, user file directory and users, and some configuration files and yum installation packages;

[0028] (3) Create an executable script file, which includes the following four parts:

[0029] (3.1), the script file of the cluster environment variable;

[0030] (3.2), call the API interface to stop the script file of the deleted service; this script file can find the service name determined in step (1), and call the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for deleting installed services based on Ambari, belongs to the technical field of Ambari platforms, and aims to solve the problem of how to rapidly delete the installed services. The technical scheme includes that the method includes the steps: (1) checking configuration files of the deleted services, and clearly determining service names and contained component names of the configuration files; (2) searching files and folders related to the deleted services by Find commands; (3) creating executable script files; (4) running the script files on ambari-server nodes, and executing operations in the script files at nodes with the installed services after successful running; (5) rebooting ambari-servers or refreshing pages, and observing whether the deleted services are successfully deleted or not. The deleted services currently mainly comprise service installation directories, service log directories, user file directories, users, some configuration files and yum installation packages.

Description

technical field [0001] The invention relates to the technical field of Ambari platform, in particular to a method for deleting installed services based on Ambari. Background technique [0002] Although big data is becoming more and more popular, its learning threshold has always hindered many beginners, and the integration and maintenance between various products are also relatively difficult. Whether it is the installation of Hadoop V1 or V2, or the integration of Spark / YARN, etc., it is not a few simple commands, but a lot of configurations. Apache Ambari is a web-based tool that supports provisioning, management, and monitoring of Apache Hadoop clusters. Ambari currently supports most Hadoop components, including HDFS, MapReduce, Hive, Pig, Hbase, Zookeper, Sqoop, and Hcatalog. [0003] As an open platform, Ambari allows users to easily maintain and manage clusters. It can quickly build and manage Hadoop clusters, which is very convenient for developers and makes cluste...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F8/62
Inventor 管新
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products