You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2024/01/02 07:16:14 UTC

(atlas) branch master updated: ATLAS-4754 : Download Search with Basic Search gives java.io.FileNotFoundException

This is an automated email from the ASF dual-hosted git repository.

mandarambawane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new 531fea4d7 ATLAS-4754 : Download Search with Basic Search gives java.io.FileNotFoundException
531fea4d7 is described below

commit 531fea4d76717093c8d1ff22f65d7bd3606ba51b
Author: Mandar Ambawane <ma...@freestoneinfotech.com>
AuthorDate: Tue May 23 13:19:46 2023 +0530

    ATLAS-4754 : Download Search with Basic Search gives java.io.FileNotFoundException
    
    Signed-off-by: Mandar Ambawane <ma...@freestoneinfotech.com>
---
 .../store/graph/v2/tasks/searchdownload/SearchResultDownloadTask.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/tasks/searchdownload/SearchResultDownloadTask.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/tasks/searchdownload/SearchResultDownloadTask.java
index fd90fd440..42f7531ae 100644
--- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/tasks/searchdownload/SearchResultDownloadTask.java
+++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/tasks/searchdownload/SearchResultDownloadTask.java
@@ -70,7 +70,7 @@ public class SearchResultDownloadTask extends AbstractTask {
     public static String DOWNLOAD_DIR_PATH;
     private static final String EMPTY_STRING                = "";
     private static final String DOWNLOAD_DIR_PATH_KEY       = "atlas.download.search.dir.path";
-    private static final String DOWNLOAD_DIR_PATH_DEFAULT   = StringUtils.isEmpty(System.getProperty("atlas.home")) ? System.getProperty("user.dir") : System.getProperty("atlas.home");
+    private static final String DOWNLOAD_DIR_PATH_DEFAULT   = System.getProperty("user.dir");
     private static final String CSV_DOWNLOAD_DIR            = "search_result_downloads";
 
     private static Configuration configuration;