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

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

                Author: ASF GitHub Bot
            Created on: 13/May/19 16:55
            Start Date: 13/May/19 16:55
    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_r283440458
 
 

 ##########
 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:
   On my mac, I got the following errors when run the install-runconfig.sh, 
what are the expected destination in absolute path on your dev box?
    
   cp: directory 
/Users/XXX/git/hadoop/hadoop-ozone/dev-support/intellij/../../../.idea/runConfigurations
 does not exist
   
   
 
----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 241169)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to