[
https://issues.apache.org/jira/browse/HDDS-1522?focusedWorklogId=241265&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241265
]
ASF GitHub Bot logged work on HDDS-1522:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/May/19 20:15
Start Date: 13/May/19 20:15
Worklog Time Spent: 10m
Work Description: elek commented on pull request #815: HDDS-1522. Provide
intellij runConfiguration for Ozone components
URL: https://github.com/apache/hadoop/pull/815#discussion_r283516872
##########
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:
Thanks the help, you are right An `mkdir -p` is missing. I will add it.
----------------------------------------------------------------
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: 241265)
Time Spent: 50m (was: 40m)
> 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: 50m
> 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]