Merge "Remove unused logging import"
This commit is contained in:
commit
1931533ca2
|
@ -13,8 +13,6 @@
|
|||
# under the License.
|
||||
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
import sahara.plugins.mapr.domain.configuration_file as bcf
|
||||
import sahara.plugins.mapr.domain.node_process as np
|
||||
import sahara.plugins.mapr.domain.service as s
|
||||
|
@ -28,8 +26,6 @@ import sahara.utils.files as files
|
|||
SPARK_SLAVE_UI_PORT = 8081
|
||||
SPARK_HS_UI_PORT = 18080
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
SPARK_HISTORY_SERVER = np.NodeProcess(
|
||||
name='spark-historyserver',
|
||||
ui_name='Spark HistoryServer',
|
||||
|
|
|
@ -13,11 +13,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def start_zookeeper(remote):
|
||||
remote.execute_command("sudo %s %s" % (
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
# limitations under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import six
|
||||
|
||||
from sahara.plugins import provisioning as p
|
||||
|
@ -24,8 +23,6 @@ from sahara.utils import xmlutils as x
|
|||
CONF = cfg.CONF
|
||||
CONF.import_opt("enable_data_locality", "sahara.topology.topology_helper")
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
CORE_DEFAULT = x.load_hadoop_xml_defaults(
|
||||
'plugins/vanilla/v2_7_1/resources/core-default.xml')
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
# limitations under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
|
||||
from sahara import conductor
|
||||
from sahara import context
|
||||
|
@ -36,7 +35,6 @@ from sahara.utils import cluster as cluster_utils
|
|||
|
||||
|
||||
conductor = conductor.API
|
||||
LOG = logging.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
# limitations under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import excutils
|
||||
import six
|
||||
|
||||
|
@ -33,7 +32,6 @@ from sahara.utils.openstack import images as sahara_images
|
|||
|
||||
conductor = c.API
|
||||
CONF = cfg.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# Cluster ops
|
||||
|
|
Loading…
Reference in New Issue