[ 
https://issues.apache.org/jira/browse/HDDS-1522?focusedWorklogId=243094&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-243094
 ]

ASF GitHub Bot logged work on HDDS-1522:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/May/19 03:46
            Start Date: 16/May/19 03:46
    Worklog Time Spent: 10m 
      Work Description: xiaoyuyao commented on pull request #815: HDDS-1522. 
Provide intellij runConfiguration for Ozone components
URL: https://github.com/apache/hadoop/pull/815#discussion_r284529730
 
 

 ##########
 File path: hadoop-ozone/dev-support/intellij/install-runconfigs.sh
 ##########
 @@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+SRC_DIR="$SCRIPT_DIR/runConfigurations"
+DEST_DIR="$SCRIPT_DIR/../../../.idea/runConfigurations/"
+#shellcheck disable=SC2010
+ls -1 "$SRC_DIR" | grep -v ozone-site.xml | xargs -n1 -I FILE cp 
"$SRC_DIR/FILE" "$DEST_DIR"
 
 Review comment:
   Yes, mkdir -p solves the script problem. However, it is not clear how to 
import these xml files into intelliJ. Can you provide some pointers on how to 
import these xml files and run them inside IntelliJ?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 243094)
    Time Spent: 1h 10m  (was: 1h)

> Provide intellij runConfiguration for Ozone components
> ------------------------------------------------------
>
>                 Key: HDDS-1522
>                 URL: https://issues.apache.org/jira/browse/HDDS-1522
>             Project: Hadoop Distributed Data Store
>          Issue Type: Task
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Sometimes I need to start ozone cluster from intellij to debug issues. It's 
> possible but it requires to create many runConfiguration object inside my IDE.
> I propose here to share the intellij specific runtimeConfigs to make it easy 
> for anybody (who uses intellij) to run full ozone cluster from the IDE (1 
> datanode only).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to