Currently, I am a PhD student from material science and I wish to become a TT professor in the future. When submitting papers, we see an option to submit it in arxiv and it seems to me that the acceptance to the arxiv would probably be much faster than usual journal. I want to ask if publishing articles in arxiv instead of usual journals would make my career less promising or not.... thank you:)
No, you shouldn't just submit to the arXiv instead of journals.
Articles in the arXiv are not considered published in the traditional sense, and they are not peer reviewed. In fields that use the arXiv, papers are typically submitted there and to a journal (but you can do this only if the journal's policies permit it, so you should check if you aren't sure). The role of the arXiv is then to provide access to preprints before publication and "green open access" to published papers.
You don't have to submit an arXiv paper for publication, and occasionally people use it to distribute papers they don't intend to publish (and for which they aren't looking for publication credit). But you should be careful to avoid getting a reputation for putting mediocre papers on the arXiv.
There have been a few high-profile cases of great arXiv papers that were never published, like Perelman's work on the Poincaré conjecture. However, you can't get away with that when starting an academic career (unless you are revolutionizing your field). If you just submit papers to the arXiv and not to journals or conferences, it will destroy your career. They will count for far less than published papers, and search committees will wonder about all sorts of explanations. Are you profoundly eccentric? Do you have no idea how academic careers work? Are your papers just not good enough for journals? Is there something you are hoping nobody finds out via peer review (e.g., that you plagiarized or rediscovered something already known)? Basically, everyone will make uncharitable negative assumptions, in addition to considering the papers themselves as worth less.
The question you've asked is a perfectly reasonable thing to wonder about, but I find it a little alarming that you've basically proposed career suicide with no indication that your advisor has warned you. This suggests that talking with your advisor more about career issues could be helpful, or attempting to find another mentor if your advisor is not so helpful. Academic career paths can be narrow and demanding, and good advice is essential.
Submitting a paper to arXiv.org is not equivalent to publishing. There is no peer-review process and no acceptance (well, apart from a lax moderation policy).
The arXiv is a preprint server. It is not good practice to upload documents that you do not intend to submit (at least in my research area).
It will look rather suspicious if you have only a string of arXiv papers in your CV that have not been submitted to a peer-reviewed journal of good standing.
As the other posters have suggested, you should not rely exclusively on arXiv uploads as "publications."
However, if I understood your question correctly, the arXiv "option" is not an option to publish instead of, but rather in addition to, your submission. In effect, many journals allow you to upload to public repositories like arXiv while simultaneously submitting the article for consideration to the journal. For example, all of the APS and AIP journals allow for this option. This allows you to reach readers who may be interested in your journal but who do not have access to those journals for whatever reason. This can be a very effective strategy for maximizing "views" of your article.