You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2022/09/07 02:57:00 UTC

[jira] [Updated] (SPARK-40364) Unify `initDB` method in `DBProvider`

     [ https://issues.apache.org/jira/browse/SPARK-40364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yang Jie updated SPARK-40364:
-----------------------------
    Description: 
There are 2 `initDB` in `DBProvider`
 # DB initDB(DBBackend dbBackend, File dbFile, StoreVersion version, ObjectMapper mapper)
 # DB initDB(DBBackend dbBackend, File file)

and the second one only used by test ShuffleTestAccessor, we can explore whether can keep only the first method

 

  was:
There are 2 `initDB` in `DBProvider`
 # `DB initDB(DBBackend dbBackend, File dbFile, StoreVersion version, ObjectMapper mapper)
 # DB initDB(DBBackend dbBackend, File file)

and the second one only used by test ShuffleTestAccessor, we can explore whether can keep only the first method

 


> Unify `initDB` method in `DBProvider`
> -------------------------------------
>
>                 Key: SPARK-40364
>                 URL: https://issues.apache.org/jira/browse/SPARK-40364
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, Tests, YARN
>    Affects Versions: 3.4.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> There are 2 `initDB` in `DBProvider`
>  # DB initDB(DBBackend dbBackend, File dbFile, StoreVersion version, ObjectMapper mapper)
>  # DB initDB(DBBackend dbBackend, File file)
> and the second one only used by test ShuffleTestAccessor, we can explore whether can keep only the first method
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org